Re: [osg-users] Enabling instancing should automatically disable display lists

2014-03-04 Thread Trystan Larey-Williams
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

[osg-users] Enabling instancing should automatically disable display lists

2014-03-03 Thread Trystan Larey-Williams
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

Re: [osg-users] Enabling instancing should automatically disable display lists

2014-03-03 Thread Paul Martz
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