Re: [osg-users] a bug or feature in the osgb writer?

2012-08-28 Thread Wang Rui
Hi John, Oh, so you are talking about the saving/reading of geometry shaders, not just geometries. :-) After checking the osg::Program serializer, I can confirm this is a bug. As GL_POINTS is defined as 0, the serializer will ignore it as incorrectly recognize it as GL_NONE. And when you load

Re: [osg-users] a bug or feature in the osgb writer?

2012-08-12 Thread Wang Rui
Hi John, 2012/8/11 John Kelso ke...@nist.gov and the ive run has the line Using vertex attribute instead repeated eight times. I doubt this has anything to do with it, as the ive file is the one that works, but you never know... I've looked up in the source code and find that the line

[osg-users] a bug or feature in the osgb writer?

2012-08-10 Thread John Kelso
Hi all, I am noticing some odd behavior in the osgb file writer. I will try to describe it as succinctly as possible. Maybe it's a bug, maybe it's my code. We are using osg 3.1 0 on a CentOS 6 Linux system. A fairly large program create a points file that includes some shaders and textures