POV-Ray : Newsgroups : povray.advanced-users : Camera jumping on a grid (x and z coordinates) : Re: Camera jumping on a grid (x and z coordinates) Server Time
29 Jul 2024 02:19:55 EDT (-0400)
  Re: Camera jumping on a grid (x and z coordinates)  
From: Ken
Date: 23 Mar 2003 22:47:14
Message: <3E7E80AB.3C0FD2A0@pacbell.net>
Stefan Schleifer wrote:
> 
> Hello,
> 
> sorry for crossposting this with this newsgroup and povray.animations. I
> haven't seen this newsgroup in my newsreader at the first time...  :-/
> 
> Hi,
> 
> i'm trying to render something special (?) with povray: I like to have the
> camera jump on a grid in the scene, but not on every field on the grid.
> 
> Let's say we have a grid sized 7 by 7, i'd like to render the grids
> 1,2
> 1,3
> 1,4
> 4,3 and
> 4,4
> 
> The problem is solved easily by creating a .pov-File for each grid including
> the proper camera. Problem is: Parsing the scene takes up to 1 Minute. If i
> could have the camera jump in the scene it would be much more quicker.
> 
> I am thinking about a construction like
> if grid=1,2 then
>     camera (xxx....)
> if grid=1,3 then
>     camera (yyy...)
> 
> Is there any way to handle this within a .pov-scene-file? Can someone help
> me with that issue?

Couldn't you just store the camera location vectors in an array and feed that
to the camera statement with a suitable clock value?

-- 
Ken Tyler


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.