Content Viewer in Mogre?

boyamer

28-06-2009 08:50:00

Is there any way to create a content viewer into Mogre .NET application?

I want to read every single resource in folder and create a preview thumbail image?

please help,
thanks

mcaden

29-06-2009 17:38:16

Should probably be doable just fine...

Loop through the mesh resources, create a hidden scenenode to each rendering in the background and loop through the scenenodes making each one visible, saving the texture to an image, and hiding it again. You can then change the image to a System.Drawing.Image, resize it, and show it as your thumbnail.

You can easily do the same for textures although simply copy the texture rather than making a scenenode and rendering.