I have a frame (QFrame with white color on left) and a GLWidget on right. I have some buttons 'Draw Polygon', 'Draw Rectangle', 'Draw Ellipse', 'Draw Text' and 'OK'.
Initially the frame is blank and GLWidget is shown with a 3D view of rectangle.
What I want-->
Click on any button just below frame, it draws corresponding shape on frame. Now click on 'OK'. The shape on frame (which the user has Clicked) should be shown on GLWidget with 3D view. I'm not able to get 3D view of shape which the user has clicked.
This basically means I have a shape wherein I want to see the 3D view of that shape.
Did I make any sense??? If not let me know what you got I'll try to clarify it.
Thanks
Bookmarks