   How to look forward the z-axis
  Hi there,I have a very simple question: what does it mean that for OpenGL by default forward is down the negative z-axis?Let's have a camera which looks forward:gluLookAt(0, 0, 0,  // Position0, 0, -1, // Target0, 1, 0); // Up vectorand an object, in position (0, 0, -10) which is pointing forward.How should be the homogeneous matrix associated to this object?I'm using the following matrix:1  0  0  00  1  0  00  0 -1 -100  0  0  1But the object is not looking forward, but toward the camera.What's wrong?Thanks for any hint :)   
  I think your basis vectors need to resemble the identity matrix or you will translate in the wrong direction. It depends on your view matrix though.   ;Quote:Original post by TheChucksterI think your basis vectors need to resemble the identity matrix or you will translate in the wrong direction. It depends on your view matrix though.It translates correctly, only the orientation is wrong.With:1 0 0 00 1 0 00 0 1 -100 0 0 1the object points toward the -zAxis as I want, but.. why?!Shouldn't it look toward (0,0,-1) if the matrix were:1 0 0 00 1 0 00 0 -1 -100 0 0 1?   