|
![](/i/fill.gif) |
In article <3ee5f3e7@news.povray.org>,
"Thorsten Froehlich" <tho### [at] trf de> wrote:
> > You could probably do something somewhat similar to bounding...do an
> > assay render on the bounding box of a group of triangles.
>
> No, because you would have to be able to keep multiple levels. A bounding
> box is bigger than the actual geometry. So only looking at the frontmost
> bounding box isn't enough.
I don't think you understood what I meant. Draw from front to back. Use
single bounding boxes for closely spatially related groups of triangles,
maybe with an oct-tree structure. If the bounding box of a group is
occluded by triangles that have already been drawn (it has no pixels at
lesser depth), all those triangles are also occluded, so no need to draw
them. I'm assuming no alpha-style transparency, because you mentioned
backside culling. Nothing to do with the frontmost bounding box, except
that you could skip the test for the frontmost few levels because they
are so unlikely to be occluded.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
![](/i/fill.gif) |