PDA

View Full Version : Transformations



Blecha
03-27-2001, 10:53 AM
When I load a model from file, then I perform glRotate and glTranslate functions. Is it possible to get transformed vertices data back ? If yes, is it faster or slower than doing this on PCU ? I have a GeForce card.

Blecha

cass
03-27-2001, 11:34 AM
Hi Blecha,

You can't get the vertices that the GPU has transformed back. You definitely want to do this in your own software.

Thanks -
Cass

maxuser
03-27-2001, 03:03 PM
In general, it's a very slow (when possible) to get data back from GL, like the matrix stack, or whether state like lighting or the z-buffer is enabled. It's typically best, as Cass has mentioned, to keep track of such state yourself. It's typically better to unconditionally change the state, and best to conditionally change the state based on the state that you're tracking yourself.