Results 1 to 3 of 3

Thread: How to export a QGLWidget content to a 3D file format

  1. #1
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to export a QGLWidget content to a 3D file format

    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

  2. #2
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How to export a QGLWidget content to a 3D file format

    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.
    Last edited by Talei; 29th August 2011 at 20:51. Reason: spelling corrections
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

  3. The following user says thank you to Talei for this useful post:

    wa3dbk (29th August 2011)

  4. #3
    Join Date
    Aug 2011
    Posts
    2
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to export a QGLWidget content to a 3D file format

    Quote Originally Posted by Talei View Post
    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 )

Similar Threads

  1. Qt to Matlab (mat format) export data to Matlab .mat format -v4
    By windsword in forum Qt-based Software
    Replies: 4
    Last Post: 26th February 2013, 20:01
  2. Replies: 5
    Last Post: 1st June 2011, 08:28
  3. Replies: 1
    Last Post: 24th January 2011, 13:57
  4. How to export data from QSql classes to XML format
    By behrouz in forum Qt Programming
    Replies: 2
    Last Post: 29th June 2010, 16:04
  5. Export to ods format
    By estanisgeyer in forum Qt Programming
    Replies: 2
    Last Post: 8th August 2009, 09:40

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.