PDA

View Full Version : Generating 2D images from a 3D model



wererabit
1st February 2011, 00:56
Hi,

I am trying to generate 2D images for certain views of a 3D model. I just wonder if QT have any built-in function for that? Or if anyone could point me to somewhere so I can find out how to do this?

Thanks :)

ChrisW67
1st February 2011, 02:23
It really depends a lot on the absent details of your problem.

If it is an OpenGL model the rendering into a QGLWidget and then using QGLWidget::grabFrameBuffer() looks promising.

wererabit
7th February 2011, 01:15
thank you very much! It works for me ;)