Hi guys, How can i take a screenshot of a 3DObject?, i want to save an image of a 3DObject in a JPG, i need to use FrameBuffer?
Desktop Java or Android?
It's for Android but if the information is only for Desktop its ok
You can use this method to get the actual screen pixels: http://www.jpct.net/jpct-ae/doc/com/threed/jpct/FrameBuffer.html#getPixels() (http://www.jpct.net/jpct-ae/doc/com/threed/jpct/FrameBuffer.html#getPixels())
All that's left, is to create an image out of these pixels and save it. You should be able to find information on how to do that online pretty quickly.
thanks for the information :)