[osg-users] Moving from 3.4.1 to 3.5.7 breaks my "hardware instancing"

Andrew Cunningham andrewC at mac.com
Mon Oct 1 09:09:58 PDT 2018


Hi,
I upgraded from 3.4.1 to 3.5.7 and my code that uses "hardware instancing" (to render a large number of simple geometry) renders nothing now.

I had no need to make any source code changes  when I updated, and other parts of the code that uses vertex/fragment shaders works fine. I am wondering what could have changed to break this code?

The outline is that I have a class that inherits from Drawable and overrides drawImplementation/computeBoundingBox/supports/accept
I am adding a VertexAttribDivisor to the Program

OSG_NOTIFY_LEVEL=DEBUG shows nothing interesting.

Any ideas where I should start looking?

Andrew

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75000#75000







More information about the osg-users mailing list