Create Balder Image from WriteableBitmap?

Aug 9, 2011 at 5:29 PM


I'm trying to use WriteableBitmaps as Materials for the faces of my cubes in Balder, but I'm running into issues converting the Bitmap to a Balder Image. I try calling ImageContext.SetFrame() with the byte array from the WritableBitmap as one of the parameters, and it ends up throwing a really weird exception.

I'm doing this on SL5

Aug 19, 2011 at 4:13 PM

What is the exception?

Could you send me a sample app that does this, easier for me to get going with debugging and finding a solution.