|
|
When you do a lot of camera movement with transform rotate spline etc,
its difficult to figure out just exactly where the camera is. I
attempted to use "extents" but it doesn't allow use of the camera as an
object.
So how do I query pov for the exact camera vector at any given time, if
I can't use extents?? (as a work around I build a serrogate sphere that
I assign the same movement, then use extents to query its location.)
Jeff
Post a reply to this message
|
|
|
|
On Mon, 03 Jun 2002 09:10:16 -0500, Jeff Nighbert wrote:
> So how do I query pov for the exact camera vector at any given time, if
> I can't use extents??
You don't. A camera isn't a shape, so of course it isn't useable for those
functions, and there isn't any way of retrieving the parameters. However,
you could just compute the location and use the same value in the camera
and wherever else you need it.
> (as a work around I build a serrogate sphere that I assign the same
> movement, then use extents to query its location.)
This is to be a very roundabout way of doing things...just transform a
vector. Look at the vtransform() macro in functions.inc.
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: <chr### [at] tagpovrayorg>
WWW: http://homepage.mac.com/chrishuff/
Post a reply to this message
|
|