Jack99
11-04-2004, 09:05 AM
Hi im new to Opengl coding a have a small part of a program which im stuck on.
I am coding using C.
I have a simple asymetric polygonal graphic that i need to display a shear transformation of.
This is my code to display the graphic:
------------------------------------
glPushMatrix();
glTranslatef(0,0,0);
Draw_Graphic();
glPopMatrix();
-------------------------------------
glTranslatef(0,0,0);
^
(i think i need to use this line but i haven't managed to get it to disply the transformation )
Any help with would be much appreciated.
Thanks
I am coding using C.
I have a simple asymetric polygonal graphic that i need to display a shear transformation of.
This is my code to display the graphic:
------------------------------------
glPushMatrix();
glTranslatef(0,0,0);
Draw_Graphic();
glPopMatrix();
-------------------------------------
glTranslatef(0,0,0);
^
(i think i need to use this line but i haven't managed to get it to disply the transformation )
Any help with would be much appreciated.
Thanks