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 ???
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 ???
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?