|
|
In article <39B65FC4.4A8EB992@my-dejanews.com>,
gre### [at] my-dejanewscom wrote:
> Would this work? I am afraid that it will not because povray (megapov),
> I fear, is very lazy about giving true information in the min &
> max_extent functions....
It isn't "being lazy", those functions just return the min and max
extents of the bounding box. You shouldn't expect it to give the actual
extents of the object.
Maybe these functions should be called min_bbox() and max_bbox()
instead, and the *_extent() functions should attempt to find the true
extents by tracing a bunch of rays at the object. This will be slower,
but still useable(it is useable even when implemented in POV-Script).
There may be portions of the objects that don't get hit, but if you need
a bounding box that is guaranteed to enclose the whole object, you
should use the *_bbox() functions.
--
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/
<><
Post a reply to this message
|
|