POV-Ray : Newsgroups : povray.general : Camera in union? : Re: Camera in union? Server Time
10 Aug 2024 20:57:55 EDT (-0400)
  Re: Camera in union?  
From: Ron Parker
Date: 3 Nov 1999 13:59:40
Message: <slrn8210q0.v8.ron.parker@ron.gwmicro.com>
On Wed, 03 Nov 1999 07:24:24 -0900, mr.art wrote:
>Thanks for all the info. The process
>of keeping track of the location of one object
>in a union of moving parts that can itself be
>positioned most anywhere needs a function
>or something. I mean, the render engine has that
>info anyway, why not #declare PosHead = vlocation(Head,0)
>for the location and #declare NormHead =vlocation(Head,1)
>for the normal info for the Head?

Because the render engine doesn't actually have that information,
perhaps?  For example, if you uniformly scale, translate, and 
rotate a sphere it will just modify the radius and the center
and will keep the transform set to the identity.

Okay, maybe it can have that information in some cases if it assumes the 
initial "position" (whatever that means) of the object was zero and the 
initial "orientation" was Y, but designing objects that way is just a 
guideline, not a requirement.

In short, such a function would be impractical and fragile.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

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