Embed image in Balder.Object.Geometries

Feb 25, 2011 at 11:23 AM

Hi all,

I need to embed image(.jpg, .png) file into Box geometry. How can I achieve this ?

Also I would like to know if I can put silverlight controls inside Balder controls ?



Mar 3, 2011 at 1:55 PM

Hi Docent,
Take a look at the sample page. There is a demo there that shows how to add a texture to a box geometry.
Look under Materials and Maps.

I am not aware of any way to put Silverlight controls in such a place interactivly.  One thing you can do is capture an image of those controls, then make a texture out of that capture.  Granted this does not allow you to interact with those controls. 

Mar 5, 2011 at 5:57 AM

The only way for putting Silverlight controls - non interactive ones, would be to generate a texture from a Visual Tree and add it.  That can be done through a WriteableBitmap that supports rendering of any Visual Element