| 
  | 
In article <3d7f2e08@news.povray.org>, Warp <war### [at] tag povray org> 
wrote:
>   I made a test with boxes made of planes, polygons and a mesh (with
> differently colored sides) and compared their rendering speed
> (-w800 -h600 +a0.1) by randomly placing 500 of them in the scene.
> The render times were:
> 
> Planes:   75 s
> Polygons: 80 s
> Mesh:     63 s
> 
>   Seems like the mesh wins.
Hmm, not what I expected. I would have thought that finding an 
intersection against 12 planes and clipping them to triangles would be 
slower than intersecting 6 planes...maybe the mesh bounding is making 
more of a difference than I thought, or maybe intersection has more 
overhead than I thought.
Hmm, maybe a union of 6 clipped planes would be faster. Bound each plane 
individually, so POV can eliminate the faces...
-- 
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 
 | 
  |