PDA

View Full Version : Using glTranslate without initializing opengl



Umair Aftab
07-22-2005, 03:42 AM
I would like to use glTranslate, glRotate to update Transformation Matrix and only get the matrix. But I donot want to initialize opengl by specifying a Device Context.

Is there a way to do this ???

Aeluned
07-22-2005, 06:13 AM
no.
If you want to use anything in OpenGL you need a valid rendering context.

If you don't want to setup a context then you need to perform the matrix multiplications and derive your own composite transformation matrix.

Out of curiousity, why are you against setting up a context?