POV-Ray : Newsgroups : povray.newusers : Getting world view data Server Time
29 Apr 2024 02:47:28 EDT (-0400)
  Getting world view data (Message 1 to 2 of 2)  
From: Bald Eagle
Subject: Getting world view data
Date: 29 Jul 2013 16:45:01
Message: <web.51f6d3276d871ccb73fc9ebb0@news.povray.org>
Is there any way, directly or indirectly, to get the data for camera location,
look_at, right, up, direction, angle, etc?

Any other "hidden" or system values that folks have found out how to get the
values for?

Thanks!


Post a reply to this message

From: Alain
Subject: Re: Getting world view data
Date: 29 Jul 2013 21:53:30
Message: <51f71c9a$1@news.povray.org>

>
> Is there any way, directly or indirectly, to get the data for camera location,
> look_at, right, up, direction, angle, etc?
>
> Any other "hidden" or system values that folks have found out how to get the
> values for?
>
> Thanks!
>
>

For the camera, the only way I know of is to use user defined variables 
to set the various parameters. You can then use those for any other 
purpose you need.

You also can use the default values. Those are documented.

There are some predefined constants. The most usefull ones, like pi, are 
documented. There are also some internal variables.

ALL predefined constants and internal variables are always in all lower 
case.


Alain


Post a reply to this message

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