Skip to main content
gamedev.net
🔒 Locked

model view matrix

Started by assaadz21 0 replies 700+ views
Original Post
assaadz21
assaadz21
consider the following program fragments: glMatrixMode(GL_MODELVIEW); glLoadIdentity(); gluLookAt(1, 1, 2, 0, 0, 0, 0, 1, 0); Compute the model view matrix. can anybody do it for me? or have the solution in a website? what i need is how the openGL is doing the clculation to get to the matrix. i started with this: eye(1,1,2) look(0,0,0) up(0,1,0) n=eye - 100k = (1,1,2) n'=.... U=Up*n= to a matrix Can anybody do that?????????

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.