Results 1 to 3 of 3

Thread: Viewer for 3D Models

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2011
    Posts
    5
    Thanks
    1

    Default Viewer for 3D Models

    Hello,

    I write software that should be able to display, turn and zoom a (triangulated) 3D object. An important requirement is that it should be possible to select a certain triangle of the object. Is it possible to do that with built-in classes of QT ?

    Thank you,
    best regards

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Viewer for 3D Models

    No.
    Qt does not deal with 3D graphics.
    But it supports it - that is, you can use openGL code, and display it in an QGLWidget.
    Qt does offer various conveniences to work with openGL, but eventually, the openGL part has to be done in openGL.
    Have a look at the class index, you will find various QGLxxxxx classes - read the docs, and you will see exactly how you can integrate Qt and openGL.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Viewer for 3D Models

    As high_flyer said, you can use OpenGL and it's very easy to do so in Qt (if you know OpenGL that is!). Otherwise, if you are really serious about your 3D stuff, then you might want to look at VTK and then Paraview for an example of what can be done with it (yes, Paraview is a Qt application).

Similar Threads

  1. Editable Models
    By MTK358 in forum Newbie
    Replies: 1
    Last Post: 9th September 2010, 19:58
  2. sql models
    By damiano19902 in forum Newbie
    Replies: 1
    Last Post: 4th June 2009, 07:18
  3. Proxy models and slection models
    By amunitz in forum The Model-View Framework
    Replies: 1
    Last Post: 23rd September 2008, 14:35
  4. Models in cascade
    By thrantir in forum Qt Programming
    Replies: 6
    Last Post: 18th January 2007, 14:05

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
  •  
Qt is a trademark of The Qt Company.