|
|
Easy to do, you only need to tell the camera to rotate 360*clock*y and have the
'look_at' after that. As in:
camera {
location <0,1,-9> // positions away from origin so it will move
rotate 360*clock*y // will move around on y axis in a circle
look_at 0 // will train viewpoint on this coordinate
}
Note that the <0,1,-9> y of one doesn't affect this particular setup but if
rotation in another axis is done it will rotate around the z as well.
Sometimes the best thing to do is use separate rotations and translations if you
want more control.
camera {
location 0 // origin, will not move yet if rotated but can turn around
translate <0,0,-9> // can now be moved also
rotate 360*clock*y // will move around on y axis in a circle
translate 1*y // starts above a y*0 plane for example
translate <0,8*clock,0> // moves upward over animation duration
look_at 0 // will train viewpoint on this coordinate
}
Bob
"Paul" <ran### [at] freenetcouk> wrote in message news:38b90f11@news.povray.org...
| How do I get the camera to fly 360 degrees around an object in a simple
| animation. I've set up a sphere at the origin <0, 0, 0> and i'm pointing my
| camera at the origin. Initially I want the camera to fly around in a flat
| plane (X and Z) but later on I will probably want it to fly around in an
| upward spiral.
|
| I've set up an ini file with Initial_Frame=1, Final_Frame=60,
| Initial_Clock=0, Final_Clock=1, but i'm now totally confused.
|
| Please help by e-mailing me some examples or by posting a reply to this
| mesaage!!!
|
| Thanks
| Paul
|
|
Post a reply to this message
|
|