Page 1 of 2
Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 3:10 am
by OnoSendai
Hi all,
I sped up the object tree building, it's 6x or more faster now.
Here are some scattered Lucy models to demonstrate:
I also fixed the triangles count in the UI so it could show the total number of triangles correctly
Num instances: ~3.8 M
Num triangles per instance: ~28M
Total number of triangles: ~106 trillion triangles
Scene build times:
Lucy scatter test
==============
Old (v3.8.26)
----------
Finished building tree. (Time taken: 35.209 s)
Finished initialisation (Time Taken: 68.02 s)
New (v4.0.x)
-------
Object tree build done. (Time Taken: 5.334 s)
Finished initialisation (Time Taken: 25.40 s)
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 3:13 am
by Juju
some speed-up that is
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 4:25 am
by CTZn
Oh yeah !
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 5:19 am
by Oscar J
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 6:05 am
by pixie
I can smell a 4 being cooked from afar! xD
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 6:40 am
by zeitmeister
Oh holy moly!!!
Cheers, zeiti
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 7:05 am
by Zom-B
Awesome, faster object tree building + your faster subdiv will kick in nicely for me, thanks a lot for that!
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 8:32 am
by OnoSendai
19 M instances.
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 8:42 am
by Oscar J
Would be fun to use Lucy as grass in an arch viz shot just to see if the client notices anything.

Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 8:42 am
by zurkdahool
crazy and amazing! very nice! btw.: thank you for the shot
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 7:17 pm
by zeitmeister
Oscar J wrote:Would be fun to use Lucy as grass in an arch viz shot just to see if the client notices anything.

ROFL!!!
Cheers, zeiti
Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 7:32 pm
by Zom-B
OnoSendai wrote:19 M instances.
I'd like to see how far this can be pushed with lets say 32GB of RAM in a system

Re: Faster object tree building (instancing)
Posted: Fri Oct 02, 2015 9:29 pm
by Oscar J
Yeah, was just saying. Would be cool to hit a quadrillion!

Re: Faster object tree building (instancing)
Posted: Sat Oct 03, 2015 3:55 am
by OnoSendai
Zom-B wrote:OnoSendai wrote:19 M instances.
I'd like to see how far this can be pushed with lets say 32GB of RAM in a system

That's already pushing the RAM quite far (on my 32GB system). I'll try and optimise mem usage a bit and get to 1 quadrillion

Re: Faster object tree building (instancing)
Posted: Sun Oct 04, 2015 1:43 pm
by OnoSendai
Did some more optimisations:
Object tree build done. (Time Taken: 4.027 s)
(was 5.3s in the original post above).
Think I need to stop now...
