View Full Version : creating 3D triangle problem
i want to create a simple shape like a 3D triangle in openGL which allows the user to key in values so that the triangle such as height, width or volume and it will transform to that particular size. Can anyone help me on this?!?!
thx! so much
09-26-2002, 10:13 PM
At First, you must create 3 vertex.
You must capture the keyboard event's (For this you could use GLUT), and apply a OpenGL
function "glScalef", assing the correct parameters to scale in each axis.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.