Object3D Screenshot

Started by Mr. K, April 15, 2016, 11:14:57 AM

Previous topic - Next topic

Mr. K

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?

EgonOlsen


Mr. K

It's for Android but if the information is only for Desktop its ok

EgonOlsen

You can use this method to get the actual screen pixels: 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.

Mr. K

thanks for the information  :)