Results 1 to 7 of 7

Thread: OpenGl Issue

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Posts
    339
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    15
    Thanked 21 Times in 16 Posts

    Default OpenGl Issue

    Hi guys,
    I'm just trying out how to use openGl to draw a 3D representation.

    I have written some code which I took help from qtAssistance but is unable to complete.

    Run the application and you will find a QFrame (white color) on the left and opengl area on the right. There are some button just below frame. Just hit the button say 'Draw Rectangle' to draw a rectangle on frame( or draw a polygon, draw draw Text etc).

    What I want-->
    Initially the white frame is empty and a rectangle is shown on right which is 3D display area.
    Click on Draw ploygon, then Click 'OK' . The polygon should be displayed with 3D representation on right. Which I should be able to rotate too. How to do that???

    I'm having problems with 3D representation. Please help.

    See the attached file.

    Thanks
    Attached Files Attached Files

Similar Threads

  1. opengl help!!
    By rachana in forum Qt Programming
    Replies: 1
    Last Post: 19th February 2007, 08:52
  2. Replies: 5
    Last Post: 22nd September 2006, 08:04
  3. OpenGl 2d
    By Lele in forum Qt Programming
    Replies: 10
    Last Post: 9th May 2006, 21:37
  4. Qt's optimized OpenGL context switching
    By sverhoff in forum Qt Programming
    Replies: 0
    Last Post: 28th March 2006, 16:40
  5. Example OpenGL project?
    By brcain in forum Qt Tools
    Replies: 9
    Last Post: 23rd February 2006, 21:17

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.