POV-Ray : Newsgroups : povray.general : Hierarchy in POV-Ray ? : Re: Hierarchy in POV-Ray ? Server Time
5 Nov 2024 03:18:25 EST (-0500)
  Re: Hierarchy in POV-Ray ?  
From: Christopher James Huff
Date: 1 Jul 2003 20:01:30
Message: <cjameshuff-599B0C.19004901072003@netplex.aussie.org>
In article <3F0### [at] freeFr>, Oodini <svd### [at] freeFr> wrote:

> > Does POV-Ray support hierarchy of objects ?
> > 
> > I don't find anything about that in the doc.

    You'll have to be a little more descriptive with your 
questions...what kind of heirarchy are you thinking of? Nested unions 
can give you a hierarchical way of handling transformations and 
textures, is that what you meant?
    I kind of doubt you are asking about the bounding heirarchies used 
for optimization, but if you are, POV does support it. There is an 
automatically generated bounding heirarchy for all finite objects, and 
some objects such as blobs, meshes, and height fields support their own 
internal heirarchies.


> If you suggest me Union, where is the new centroid ?

    That would depend on the objects you are using. POV doesn't know and 
doesn't care. There are several ways you could define it, the method you 
use depends in part on what you're going to use it for. I have a hunch 
that you think transformations have something to do with the centroid of 
an object...this is not the case, all transformations are relative to 
the origin: < 0, 0, 0>

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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