PDA

View Full Version : How to export a QGLWidget content to a 3D file format



wa3dbk
29th August 2011, 20:00
Hi everyone :)

First of all, i'm using
Qt Creator 2.0.1
Based on Qt 4.7.0 (32 bit)

Then i wanted to ask if there is a way to export a QGLWidget content to a any 3D file format like .obj for example

Thanks for all your replies :D

Talei
29th August 2011, 21:51
No neither Ogl nor Dx has any knowledge about You underlying file structure format. QGLWidget is simply an wrapper (actually an widget that implements painting, resize, initializations etc. for GL) to GL and has nothing to do with f. formats either.
Look at lib3ds or assimp (supports many formats), or write You own file format.

wa3dbk
29th August 2011, 23:48
No neither Ogl nor Dx has any knowledge about You underlying file structure format. QGLWidget is simply an wrapper (actually an widget that implements painting, resize, initializations etc. for GL) to GL and has nothing to do with f. formats either.
Look at lib3ds or assimp (supports many formats), or write You own file format.

Ok thanks a lot :))