PDA

View Full Version : control 3D models



helenyyh23
08-31-2004, 04:33 AM
How to control the models which is 3DS using OpenGL? Can I use "glRotatef" or "glTranslatef"?

Aeluned
08-31-2004, 07:05 AM
You first need to import the model into your application. Once that's done, you've got a bunch of vertices that define the model. These vertices are then rendered like any other vertices in OpenGL (i.e. there's nothing stopping you from calling glRotate, glTransform, glScale, whatever...).