engine_web-ifc icon indicating copy to clipboard operation
engine_web-ifc copied to clipboard

[Bug]: Exponential growth of vertices for higher circle_segments

Open hellghostx opened this issue 2 years ago • 1 comments

What happened?

Since version 0.0.55 there has been a change how many vertices are returned from getVertexArray().

For attached model 1st mesh, 1st geometry returns this number of vertices: version < 0.0.55: 18288 vertices for 128 segments / 16848 for 10 segments version >= 0.0.55: 1773936 vertices for 128 segments / 275184 for 40 segments / 16848 for 10 segments.

This means that loading times goes up to minutes or tens of minutes instead of seconds as it was before. Quality of rendered circles is not better for lower number of circle_segments since 0.0.55, so lowering number of circle_segments is not a suitable option.

Btw for this model 128 segments results in error of assertions.

Version

0.0.55 - 0.0.57

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Anything else?

segments.zip

hellghostx avatar Aug 15 '24 09:08 hellghostx

This has now been fixed

beachtom avatar Oct 20 '24 15:10 beachtom