Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Help: Automatic Camera Movement?

Author
Message
Genesis Rage
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location:
Posted: 22nd Nov 2003 01:09
how would someone go about making a camera move automatically... like in some techdemo's the camera automatically flys around a level? also much like the background for Unreal, flying around the castle?

i have done some experimenting with this, but with no luck, because i have no idea where to start from...

can anyone offer some assistance?

zircher
22
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 22nd Nov 2003 05:36 Edited at: 22nd Nov 2003 05:38
Create a list of 3d coordinates, have the camera start at the first coordinate. Get the distance to the next way point. Divide these three distances by a fixed value (or better by the difference in timer values from one loop to the next). Add the fractional distances to the current camera value. When the camera gets close to that waypoint, calculate distances to the next way point in the list. Repeat until you get to the last waypoint. Then, either stop at this destination or go back to the beginning of the list and loop forever.

Of course, you can get much fancier than this, camera rotation, velocity changes, curved paths, 3D sound, headlights, etc. But, start with this basic logic and then go for the chrome.
--
TAZ

Don't ask me for code. The idea is for you to work out the details and thus truly learn how to work the system.
Genesis Rage
21
Years of Service
User Offline
Joined: 5th Oct 2003
Location:
Posted: 22nd Nov 2003 06:43
one thing that i didnt try... if i created a simple box in a modeller program (3ds max is what i have)... and animated this box to follow a certain path with rotation... and exported it as a .x file with animation...

i know when exporting the 000 coords for the object is actually the 000 coords for the scene in 3ds max... so technically the objects position wouldnt change... but what about doing something like this with limbs or something?

just trying to find an easier way to do this... if there even an easier way to do this?

Login to post a reply

Server time is: 2025-05-13 23:29:14
Your offset time is: 2025-05-13 23:29:14