POV-Ray : Newsgroups : povray.general : extents for camera object location??? : Re: extents for camera object location??? Server Time
19 Nov 2024 01:53:41 EST (-0500)
  Re: extents for camera object location???  
From: Christopher James Huff
Date: 7 Jun 2002 13:39:10
Message: <pan.2002.06.07.12.39.58.728467.710@mac.com>
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

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