POV-Ray : Newsgroups : povray.binaries.images : Help I need it : Re: Help I need it Server Time
16 Aug 2024 06:22:32 EDT (-0400)
  Re: Help I need it  
From: Christopher James Huff
Date: 14 Mar 2002 22:36:39
Message: <chrishuff-1B7E91.22361914032002@netplex.aussie.org>
In article <3c913ee9$1@news.povray.org>, "Tek" <tek### [at] evilsuperbraincom> 
wrote:

> I confess I have no idea how your box approach is working. The way 
> I'd suggest doing a regular octahedron is with plane intersections 
> like this:
...snip...
> 8 planes to describe an 8 sided solid :)

Note that POV has no idea how to bound this, so it is completely 
unbounded...POV will test against it for every ray traced. This isn't 
much of a problem just for one, but if you use a large number of them 
you should use an appropriate bounded_by statement.

You could also use an intersection of 2 or more boxes, which might be 
faster and won't need manual bounding as badly...POV will be able to 
come up with a bounding box, just not a perfect one.

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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