Hi Pjotr,
I think the problem with the generated file is that the vertex attributes begin
at 6 and the attributes 0 to 5 are null pointers and are not written. Then when
reading the reader expects 8 arrays but there are only 2 written so it messes
up reading them. I also noticed that, unlike in the osg format there is no way
to tell to what attribute number to bind an array.
Apart from the binding, it was working before. There seem to be changes
in the serialization.
Unfortunately one cannot use arbitrary numbers here, since drivers do a
default mapping between default vertex attributes and the attribute
slots in the shader program.
cheers
Sebastian
Cheers,
Pjotr
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=58952#58952
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org