Page 1 of 1

16.2 and 16.2.2 has extreme compiling time

Posted: Wed Sep 05, 2018 8:53 pm
by J.C
This version is compiling a single 1 mln triangles object for 20 seconds. Moving it adds another 20 seconds. This version is completely useless.

Re: 16.2.2 is extreme compiling time

Posted: Wed Sep 05, 2018 10:33 pm
by DrawFun
Hi J.C,

Could you please give a bit more details or share me a demo for debugging? I've built some test cases but there are no significant performance losses compared with previous 16.x.

Cheers,
DrawFun

Re: 16.2.2 is extreme compiling time

Posted: Thu Sep 06, 2018 1:49 am
by J.C
Sure, here it is. Similar compiling time is in 16.2
The same scene exported to ORBX file compiles in Standalone app in less than a second.

Re: 16.2 and 16.2.2 has extreme compiling time

Posted: Thu Sep 06, 2018 2:13 am
by J.C
This happens only with this particular scene. The object was subdivided before and modifier was applied. Other compile in normal time.

Re: 16.2 and 16.2.2 has extreme compiling time

Posted: Thu Sep 06, 2018 3:49 am
by DrawFun
Hi J.C,

It seems that the sphere is applied with level 2 OpenSubDiv, which will lead to an extra triangle generation.
Please check the final render result, it contains around 16 million triangles while the original sphere has only 1 million. Therefore about 15 million triangles are generated on the fly, which is quite time consuming.

Regarding the orbx, it renders only 1 million triangles without generating the opensubdiv triangles. To render with subdivision triangles, you can change the subdivision level from 0 to 2 in the "geometry.abc" setting. Then standalone will take times to compile extra triangles too.

Cheers,
DrawFun

Re: 16.2 and 16.2.2 has extreme compiling time

Posted: Thu Sep 06, 2018 8:41 am
by J.C
Thanks DrawFun for pointing this out! This was a false alarm, Sorry for that.
I should have checked the triangles count number in rendered viewport not in Blender viewport. Lesson learned :)