POV-Ray : Newsgroups : povray.newusers : Cube in different colors ? : Re: Cube in different colors ? Server Time
5 Sep 2024 00:17:29 EDT (-0400)
  Re: Cube in different colors ?  
From: Christopher James Huff
Date: 11 Sep 2002 09:43:04
Message: <chrishuff-C7E2A7.09424011092002@netplex.aussie.org>
In article <3d7f2e08@news.povray.org>, Warp <war### [at] tagpovrayorg> 
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] 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.