Results 1 to 4 of 4

Thread: About OPENGL and 2D and 3D

  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default About OPENGL and 2D and 3D

    I'm planning to develop a vector visualization app, with 2D and 3D (basic 3D) modes.
    What kind of things can I do using 2D grapichisview that I cant do using 'QGL'.
    My initial 3D requirements are going to have 3D visualization and mouse-objects detection (maybe later I want to do more, by not now)

    Have to plann to develop duplicate functions thinking in the two worlds ?
    Thanks.

  2. #2
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: About OPENGL and 2D and 3D

    I never used grapichsview, but if you mostly will use 3D, than GL is the way to go. As for mouse object detection, I use the picking technic described in the OpenGL Superbible 4 book (there are others technics). If you google around you will find tutorials and lots of examples in the web.
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

  3. #3
    Join Date
    Sep 2010
    Posts
    654
    Thanks
    56
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: About OPENGL and 2D and 3D

    And whats about printing ? QT-OPENGL lets me do it ?

  4. #4
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: About OPENGL and 2D and 3D

    I don't think Opengl has any functions for priting, you'll have to use Qt priting functions (there's plenty examples out there) in this forum, in QAssistant and in the free Qt book.
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

Similar Threads

  1. QT 4.6 and openGL 2+
    By schr in forum Newbie
    Replies: 3
    Last Post: 1st August 2010, 05:00
  2. Replies: 0
    Last Post: 6th December 2009, 00:41
  3. Qt with OpenGL ES for ARM9 - All OpenGL ES tests have failed!
    By vinpa in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 3rd December 2009, 10:10
  4. Problem from OpenGL to QT OpenGL
    By nuts_fever_007 in forum Newbie
    Replies: 5
    Last Post: 15th May 2009, 09:37
  5. Qt OpenGL ES
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 30th April 2009, 11:21

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.