[osg-users] VBO Bug with 3.6.1 and Normal Arrays

Robert Osfield robert.osfield at gmail.com
Sun Jun 3 03:11:15 PDT 2018

Hi Dan,

On 1 June 2018 at 16:01, Daniel Emminizer, Code 5773
<dan.emminizer at nrl.navy.mil> wrote:
> Attached is a demo of the problem that generates a console warning.  More complex scenes can cause crashes.  The red triangle has the problem, but the green one does not.

I have built the example, and to help with test have changed the
#ifdef blocks to ones that check arguments.read("--ro") for the
RealizerOperation usage and "--reset" for the
resetVertexAttributeAlias.   Attached is the modified file.

If you run the test with --ro and have it use the custom
RealizerOperation I see a completely red cessna.  If I used --ro and
--reset I see multi-colour (blue, red etc) one, if I run without any
options I see the multi-colour one.

I don't see any command line warnings though.  I'm testing under
Kubuntu with OSG-3.6 branch, my drive info is:

OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 760/PCIe/SSE2
OpenGL core profile version string: 4.5.0 NVIDIA 384.111
OpenGL core profile shading language version string: 4.50 NVIDIA

I don't yet have any idea what is going wrong, it's obviously very odd
that the custom RealizeOperation is having an effect when it does
nothing itself.

Before I start diving deeper I'd like to know what others are seeing
with these different combinations and if any errors are being printed
in the console, if so what are they.  Also let us know the OSG version
and driver/OS details.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 2032 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20180603/7e4ae253/attachment.cpp>

More information about the osg-users mailing list