Archived

This topic is now archived and is closed to further replies.

DmitryZ

Camera Fixed on Object

Recommended Posts

DmitryZ    122
Lets say you have a camera in the eyes of a character, and he sees an object in front of him. How will i be able to display that object on screen. Obviously the object is at x,y. And camera is looking at x,y. Do i just move the camera to x,y? What if i move to turn to the left or right a little bit, how will i be able to calculate how much of the object is seen? I know there are probably posts of this on other pages, but the search is down =( and will take me hours to look through all of the posts. [edited by - DmitryZ on October 3, 2002 6:58:40 PM]

Share this post


Link to post
Share on other sites
davepermen    1047
one search will always be up.

check gluLookAt or D3DXLookAtLH/RH (i think, don''t remember the dx funcs really, long time it is...)

"take a look around" - limp bizkit
www.google.com

Share this post


Link to post
Share on other sites