|
![](/i/fill.gif) |
Ken <tyl### [at] pacbell net> wrote:
: I disagree with your statement. I just ran three tests of unions vs. meshs
: of triangles and the unions in all three cases parsed and rendered faster.
: Meshs seem to only have the advantage of memory optimization when using
: multiple copies of the same mesh object.
This test seems extremely strange since my experience states the contrary.
The lparser program produces a union of triangles. The parsing time
usually blows up in the "creating light buffers" stage (several minutes
in my old 486; not tested in my new P-II). Substituting "union" with "mesh"
reduced that stage to seconds.
Also the faster rendering time seems strange since AFAIK povray generates
an efficient octree (or a similar data structure) from the mesh while it
can't do that with a union of objects. Testing ray-triangle intersections
is much more faster with that kind of data structure.
I have to test this by myself...
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
![](/i/fill.gif) |