Umm maybe this is the problem..Originally Posted by JSoftware
I usually set up the camera without thinking of matrices..
[pascal]
glLoadIdentity;
glTranslatef(0,6,10);
gluLookAt(campos.x, campos.y, campos.z, camtarget.x,camtarget.y,camtarget.z,0,1,0);
[/pascal]
then i start drawing stuff without switching matrix..
How should it be done instead?
Maybe i've some problem with basis
Bookmarks