rom
08-28-2001, 03:35 AM
i have some questions :
-can someone tell me where i can found all opengl matrices (projection,viewport, ...)
-i have also a problem : i rotate the camera with gluLookAt, before tranfos the viewpoint isV= (0,0,-50) then i apply
transfo to this point to obtain the transformed viewpoint (but multiply by the matrix M) which i put in glulookat, but
when i draw the line (0,0,0) M*V nothing appears or not in the center of my screen, why ?
-someone also know how to calculate the distance between the screen and the viewpoint ?
-is the screen perpendicular to the line (viewpoint,point which is viewed [2nd parameter in glulookat]) ?
that's all for the moment ! thnx for your answers
-can someone tell me where i can found all opengl matrices (projection,viewport, ...)
-i have also a problem : i rotate the camera with gluLookAt, before tranfos the viewpoint isV= (0,0,-50) then i apply
transfo to this point to obtain the transformed viewpoint (but multiply by the matrix M) which i put in glulookat, but
when i draw the line (0,0,0) M*V nothing appears or not in the center of my screen, why ?
-someone also know how to calculate the distance between the screen and the viewpoint ?
-is the screen perpendicular to the line (viewpoint,point which is viewed [2nd parameter in glulookat]) ?
that's all for the moment ! thnx for your answers