Skip to main content
GameDev.net gamedev.net
🔒 Locked

model view matrix

Started by assaadz21 Feb 22, 2005 at 7:40 AM 1 replies 950+ 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?????????
Wan
Wan
I have a feel that somebody is cross posting here.

http://www.gamedev.net/community/forums/topic.asp?topic_id=302496
http://www.gamedev.net/community/forums/topic.asp?topic_id=302495
http://www.gamedev.net/community/forums/topic.asp?topic_id=302491

Please don't do that..
benjamin bunny
benjamin bunny
Normally I'd keep one of your cross-posts open, but since this looks very much like a homework question, I'm closing it. I recommend you read the red/blue books (see the Forum FAQ for online versions), don't just come here asking to be spoon-fed.

Topic Locked

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

Sign in to reply to this topic.