Werner Modenbach
2018-07-13 16:44:31 UTC
Hi all,
maybe someone has some inspiration for me.
I have a scene graph where the same object (plenty of vertices) is drawn
in many instances.
Each instance gets an offset matrix to move the object to some place.
If I do the rendering without instances the culling removes those
objects from the draw list that are not visible.
Is there any way to implement such culling also with instances?
I think I need to remove the invisible matrices from the list and reduce
the number of instances somehow.
Any idea where to do it?
Thanks
- Werner -
maybe someone has some inspiration for me.
I have a scene graph where the same object (plenty of vertices) is drawn
in many instances.
Each instance gets an offset matrix to move the object to some place.
If I do the rendering without instances the culling removes those
objects from the draw list that are not visible.
Is there any way to implement such culling also with instances?
I think I need to remove the invisible matrices from the list and reduce
the number of instances somehow.
Any idea where to do it?
Thanks
- Werner -