Results 1 to 2 of 2

Thread: QtOpenGL Module - load mesh into QGLWidget

  1. #1
    Join Date
    Sep 2012
    Qt products
    Unix/X11 Windows

    Default QtOpenGL Module - load mesh into QGLWidget

    I need to generate a 3D-world and load 3D-objects into a QGLWidget. Is there any class which allows me to easily load 3d-meshes so i can display them? I could write my own code to parse the data but i hope there is some convenient class in qt to do this for me. The format i want to load is open and depends on which format qt supports.

  2. #2
    Join Date
    Jan 2008
    Alameda, CA, USA
    Thanked 864 Times in 851 Posts
    Qt products

    Default Re: QtOpenGL Module - load mesh into QGLWidget

    QtOpenGL has support for rendering (QGLWidget) and for various OpenGL data structures and functions. If you want to do anything more than that, you have to dip into coding in OpenGL itself. If you already have code that generates and loads your objects, then you can adapt that code to work within a QGLWidget rendering environment.

    Look at the top level of the QtOpenGL documentation and see if anything maps to the code you have now.

    By the way, I'm no expert on this. I'm reading the OpenGL "red book" now, trying to get myself up to speed for creating 3-D scientific visualization graphics.

Similar Threads

  1. QLibrary::load: The specified module could not be found
    By mentalmushroom in forum Qt Programming
    Replies: 5
    Last Post: 13th November 2013, 17:32
  2. Replies: 1
    Last Post: 9th February 2011, 08:30
  3. Replies: 1
    Last Post: 18th December 2010, 12:05
  4. Draw a mesh using Qwt?
    By alex_sh in forum Qwt
    Replies: 2
    Last Post: 5th October 2010, 17:55
  5. opengl rendering mesh elements contour problem
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 1
    Last Post: 2nd February 2010, 08:07


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.