Instancing for faster viewport
Hey there,
I am working on a scene based on the “Cubic World” tutorial and it has quite a lot of trees in it.
First I had them all as seperate objects but then I realized this would be a case for instancing, since I learned: Instancing comes at very low to no cost for the system.
So I set up that little node system to instance trees from a collection and randomized them a bit. The trees are all made with the Sapling tree generator, so not only the trees are instances but also the leafs on the trees are instances from just one single leaf per tree.
Still, my viewport is very laggy, when I have all the trees visible! I wonder why that is?
I thought by instancing them, that would be solved. Instead I had to create that setup that replaces the trees by those grids in the viewport.
(The grass btw. has surprisingly low effect on the viewport performance, I still keep it at 0,01 amount for viewport, it’s made with the geo nodes hair system)
So again, do you know why my viewport is slowed down by the trees, although they are all instanced? (Also the bushes and smaller trees > All Instances)
EDIT: I understand that the lag must somehow come from the instanced leafs on the trees. As soon as I hide those (even if it’s just on the original trees and all the instanced trees are just wireframes) my viewport performance is boosted.
I’m still irritated by that, those are just instances of one leaf model and instances come at almost no cost..? Are those just too many instances o.O
EDIT2: May I add a question: ALT+D creates a “Duplicate Linked”, which is not an instance, it is its own mesh, it just feels like an instance because it’s linked. Is that correct?