POV-Ray : Newsgroups : povray.general : Camera in union? : Re: Camera in union? Server Time
11 Aug 2024 03:34:19 EDT (-0400)
  Re: Camera in union?  
From: Bald Eagle
Date: 8 Mar 2017 15:05:00
Message: <web.58c062c67524ba2c437ac910@news.povray.org>
"posfan12" <nomail@nomail> wrote:
> "mr.art" <mr.### [at] gcinet> wrote:
> > Is it possible to include a camera statement in a union?
> > I want to place the camera in the head of a figure, but
> > POV gives an error for this.
> > I am using POVray 3.1g for Windows.
>
> Camera in a union would be handy in case you want to move the camera and all the
> lights at the same time.
>
>
> Mike

Define camera location and look_at variables, and then define the camera and
everything else based on that one variable.

You can even define that variable right there at the beginning of your union{}
statement.  Then translating the union would move everything just like you want.


Post a reply to this message

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