|
|
#declare frequency = 3;
#declare amplitude = 1;
#declare distance = 10;
#declare height = 1;
camera {
location < sin(radians(clock*360*frequency)), height, clock*distance
- distance>
...other camera stuff...
}
Note that if you want the point the camera looks at to move, you would
have to modify it too. Actually, it would be better to use translate in
that case.
camera {
location blahblah
look_at blahblah
...other camera stuff...
translate < sin(radians(clock*360*frequency)), height,
clock*distance - distance>
}
Post a reply to this message
|
|