Original Post
🔒 Locked
Camera
Advertisement
well. I would suggest that you learn how to program a simple camera, then learn how to program user input (with mouse and keyborad). And believe me once you know all that, makeing a movable camera is really easy.
there are some good directInput tutorials at andypike.com i think. and beginner directX tutorials show you how to make a asic camera. so get a hold of some of em. and direct input is also really easy. i learnt it from the sdk docs actually. the tutorials in ther are easy to follow and pretty simple. give it a try
Once youve done all that. then all you really have to do is change the x,y,z values of the camera position depending on what the user pressed or where the user moved the mouse. and in teh case of dirwectX you'll also have to change the loo-at coordiantes (thats where the camera is actually pointing). Programming a camera is more to do with input programming then anything else.
"I know sometimes I ask stupid questions...but i mean well
"
[Triple Buffer]|[SCRIPTaGAME]|[My Old Site]
[edit] <_>
[edited by - alfmga on October 3, 2002 5:17:32 PM]
there are some good directInput tutorials at andypike.com i think. and beginner directX tutorials show you how to make a asic camera. so get a hold of some of em. and direct input is also really easy. i learnt it from the sdk docs actually. the tutorials in ther are easy to follow and pretty simple. give it a try
Once youve done all that. then all you really have to do is change the x,y,z values of the camera position depending on what the user pressed or where the user moved the mouse. and in teh case of dirwectX you'll also have to change the loo-at coordiantes (thats where the camera is actually pointing). Programming a camera is more to do with input programming then anything else.
[Triple Buffer]|[SCRIPTaGAME]|[My Old Site]
[edit] <_>
[edited by - alfmga on October 3, 2002 5:17:32 PM]
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement