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
Bookmarks