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.

Newcomers DBPro Corner / camera question

Author
Message
David iz cool
19
Years of Service
User Offline
Joined: 21st Sep 2005
Location: somewhere lol :P
Posted: 15th Jan 2006 21:21
how would i record my camera's movement?

im trying to make a flyby cutscene.

master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 16th Jan 2006 00:46
Some how make use of the for/next command and store the locations x,y,z in 3 different variables, such as the first movement is camx1#,camy1#,camz1# while the second one is camx2#,camy2#,camz2#

I'll try to create this and give you some code that you can use.

I hope that helps

crighton
18
Years of Service
User Offline
Joined: 5th Nov 2005
Location: In your soup.
Posted: 16th Jan 2006 03:18
hmmm....
make some arrays(maybe even a type).
dim cameraoldx(100)
dim cameraoldy(100)
dim cameraoldz(100)

then at the start of the program, setup a timer for how many sec's between record steps it needs.
Every time it is able to record, store all 3 variables in the arrays and increase the step.
You will need angle aswell, so ur better using a type i guess.


then play back would be a little different. Every step would have to have a smooth transition from the last.
I would do something for that aswell, but as usuall late for work.


hope that helps a little.


Why are the forgotten always remembered? But no-one remembers me?!

Login to post a reply

Server time is: 2024-09-24 13:27:23
Your offset time is: 2024-09-24 13:27:23