I'm doing projections from a point of view and I want to store it as a png image. So I use the writeContentsToFile method from RenderTexture to do that. The problem is when I open the images they are completely black.
Anybody can help me
I'm using Ogre 1.0 with OpenGL (the method is only implemented in OpenGL).
I believe writeContentstoFile is only implemented for windows. You might want to try getting and locking the underlying pixel buffer on the texture that it renders to and copying the pixels out directly.