Results 1 to 2 of 2

Thread: ArcBall Camera in OpenGL

  1. #1
    Join Date
    Sep 2010
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default ArcBall Camera in OpenGL

    Hello All.

    I am busy with a project which is due in a couple of days (2 to be exact)

    forgive me if I seem abit off in this post ive been coding like crazy and im stuck on a certain point in my project.

    So I have rendered a model in OpenGL through a QGraphicsScene. the last few bits of this project require me to implement arcball navigation through my OpenGL Scene

    I have read NeHe's ArcBall tutorial but it seems rather complicated to me, does anyone have any Qt examples that i can look at?

    regards
    CM

  2. #2
    Join Date
    Feb 2007
    Location
    Karlsruhe, Germany
    Posts
    469
    Thanks
    17
    Thanked 90 Times in 88 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ArcBall Camera in OpenGL

    It's a bit ugly, but you can look at the boxes demo. If thats what you are looking for, the (spheric) trackball.h/cpp + scene.cpp might be worth a look.

    HIH

    Johannes

Similar Threads

  1. Arcball with OpenGL
    By System123 in forum General Programming
    Replies: 2
    Last Post: 28th August 2010, 21:26
  2. Connect camera in Qt?
    By nthung in forum Qt Programming
    Replies: 12
    Last Post: 25th May 2010, 11:19
  3. IP camera
    By vinod sharma in forum Qt Programming
    Replies: 1
    Last Post: 12th March 2010, 13:41
  4. Camera Detection
    By tiho_bg in forum Qt Programming
    Replies: 0
    Last Post: 18th November 2009, 20:09
  5. OpenGL move the camera
    By rullzer in forum Qt Programming
    Replies: 2
    Last Post: 26th February 2008, 19:39

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.