PDA

View Full Version : glRotate/glTranslate in animation, is this good ??



haust
11-22-2000, 06:32 AM
Hi,

well, i have to animate something like 60 models with 8 pivots (rotation+translation) for each model.
The question is : should compute by software all the transformations or should i use glRotate/glTranslate and let openGL do the job for me ??

MikeC
11-22-2000, 06:43 AM
Unless you need the modelview matrices for some other purpose than rendering (e.g. collision detection), let OpenGL do it for you. It's cleaner and usually faster, especially on GPUs.