Re: [osg-users] osggeometryshaders example question

2017-09-13 Thread Mike Greene
Thanks! Cheers, Mike -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71703#71703 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] osggeometryshaders example question

2017-09-12 Thread Robert Osfield
Hi Mike, I have just done a quick experiement with the osgshadersexample and found the with one vertex I wouldn't see anything. With only a single vertex the bounding box would just be zero sized so the scaling of the camera would likely be a bit off as well as small feature culling wanting to

[osg-users] osggeometryshaders example question

2017-09-12 Thread Mike Greene
Hi, In reference to the osggeometryshaders example, I have a question about a seeming problem when only passing one point to the geometry shader: If I comment out all but the first push back: Code: osg::Vec3Array* vAry = new osg::Vec3Array; setVertexArray( vAry ); vAry->push_back(