Results 1 to 6 of 6

Thread: QGLGraphicsViewportItem and 3D scene map editor

  1. #1
    Join Date
    Jul 2008
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QGLGraphicsViewportItem and 3D scene map editor

    I’m developing a robot steer simulator. There must be a simple 3D scene map editor. It must have an availability to add simple figures such as cube, pyramid cone etc. Map should be viewed in 2 different positions of camera in same time (not necessary but desirable). What should I chose for it? QGLGraphicsViewportItem or QGLView and QSceneNode? What are the benefits of QGLGraphicsViewportItem?
    Last edited by auric; 20th September 2010 at 02:54. Reason: spelling corrections

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QGLGraphicsViewportItem and 3D scene map editor

    Please define:
    QGLGraphicsViewportItem
    QGLView
    QSceneNode

  3. #3
    Join Date
    Jul 2008
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGLGraphicsViewportItem and 3D scene map editor

    Quote Originally Posted by tbscope View Post
    Please define:
    QGLGraphicsViewportItem
    QGLView
    QSceneNode
    There are classes of developing Qt/3D project.

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QGLGraphicsViewportItem and 3D scene map editor

    Definition: failed!

    Please, pretty please, explain everything. Do not expect people to know those classes. These are not mainstream Qt classes.
    So, please, provide at least a link to the documentation of these classes.

  5. #5
    Join Date
    Jul 2008
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGLGraphicsViewportItem and 3D scene map editor

    Quote Originally Posted by tbscope View Post
    Definition: failed!

    Please, pretty please, explain everything. Do not expect people to know those classes. These are not mainstream Qt classes.
    So, please, provide at least a link to the documentation of these classes.
    If you don't know any about this classes, so how you can help?
    There are docs:
    QGLGraphicsViewportItem
    QGLView
    QGLSceneNode
    Qt/3D Reference Documentation

  6. #6
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: QGLGraphicsViewportItem and 3D scene map editor

    Quote Originally Posted by auric View Post
    If you don't know any about this classes, so how you can help?
    Thank you for noticing.

    Now your question, and this answer is my personal opinion.
    Use a graphics view when you also want to include widgets or other items in your gl scene. The graphics view contains several convenience classes to do this easiliy.
    If you don't need that, use a QGLView.

  7. The following user says thank you to tbscope for this useful post:

    auric (21st September 2010)

Similar Threads

  1. Help with scene
    By justin123 in forum Newbie
    Replies: 1
    Last Post: 2nd July 2010, 04:43
  2. graphics scene
    By dognzhe in forum Qt Programming
    Replies: 3
    Last Post: 3rd June 2009, 08:55
  3. Clear a Scene
    By peace_comp in forum Qt Programming
    Replies: 7
    Last Post: 20th May 2008, 18:44
  4. Creating a scene from piece of another scene
    By maverick_pol in forum Qt Programming
    Replies: 3
    Last Post: 23rd August 2007, 17:51
  5. How to use QGraphicsView and Scene right ...
    By Mike in forum Qt Programming
    Replies: 6
    Last Post: 22nd January 2007, 08:51

Tags for this Thread

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.