Results 1 to 4 of 4

Thread: how to create multiple cubes in opengl

  1. #1
    Join Date
    Aug 2011
    Location
    bangalore
    Posts
    14
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Thumbs up how to create multiple cubes in opengl

    hi i am new to opengl..i was created a QGraphicsscene with 20 QGraphicsRectItems ..presently i want to see the items in 3D in opengl.how to create multiple cubes ...can some one please give some ideas..


    Thanks In advance

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to create multiple cubes in opengl

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Aug 2011
    Location
    bangalore
    Posts
    14
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to create multiple cubes in opengl

    Is there any possibility to display and or to draw items in 3D in Qt without using the OpenGL part of Qt? For each of the items I want to visualize I can calculate the x, y and z coordinates of all the points that the item contains.

    I would like to have something like QGraphicsView only in 3d if that is possible.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,360
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to create multiple cubes in opengl

    There is Qt3D available but it will not let you avoid using OpenGL.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 19th October 2011, 09:30
  2. Replies: 4
    Last Post: 20th October 2010, 08:13
  3. multiple Opengl Widgets:
    By manmohan in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2009, 05:06
  4. how to create multiple windows in QT
    By durgarao in forum Qt Tools
    Replies: 1
    Last Post: 9th January 2009, 14:47

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.