If it's messy to automate the behavior, I think even a warning visible at a
'warn' log level would suffice. I.e. pop the message on add/insert PrimitiveSet
if the drawarray is instanced and display lists are enabled on the Geometry.
If I can squirrel away some time soon, I'll go ahead and
Hi all,
I found that OSG has display lists enabled by default on Geometry objects and
it remains enabled even if instancing is enabled. This made for a fairly long
and non-intuitive debug session as I was trying to figure out why my geometry
failed to be drawn. Ultimately, I just had to
How would you propose this work? Instancing is a property of the
PrimitiveSet, and display list usage is a property of the Geometry object.
Would you modify Geometry::addPrimitiveSet() to look for use of instancing,
and if detected, disable display lists? What if the instanced PrimitiveSets
are
3 matches
Mail list logo