Nieminen Mika wrote:
>
> The mesh version is more recommendable since meshes render much faster
> than a union of triangles.
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.
Triangle object 1 - 200 triangles
union parse render
0 22 sec
mesh 0 26 sec
Triangle object 2 - 1000 triangles
parse render
union 2 25 sec
mesh 2 30 sec
Triangle object 3 - 6000 triangles
parse render
union 9 32 sec
mesh 10 39 sec
--
Ken Tyler
mailto://tylereng@pacbell.net
Post a reply to this message
|