[osg-users] GL_POINTS vs GL_LINES: same vertices displayed at different positions on screen

2011-04-08 Thread Louis Bouchard
Hi, I have stumble on what seems to be a bug. It seems that when using the same coordinates for vertices with osg::PrimitiveSet::POINTS and osg::PrimitiveSet::LINES or LINE_LOOP, those vertices don't show up at the same place on the screen. They are indeed displayed one pixel off. I have

Re: [osg-users] GL_POINTS vs GL_LINES: same vertices displayed at different positions on screen

2011-04-08 Thread Louis Bouchard
here's the screenshot. Produced by the code sample attached in th OP. [Image: http://i.imgur.com/wAOAz.png ] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38345#38345 ___ osg-users mailing list

Re: [osg-users] GL_POINTS vs GL_LINES: same vertices displayed at different positions on screen

2011-04-08 Thread Chris 'Xenon' Hanson
On 4/8/2011 1:22 PM, Louis Bouchard wrote: I have stumble on what seems to be a bug. It seems that when using the same coordinates for vertices with osg::PrimitiveSet::POINTS and osg::PrimitiveSet::LINES or LINE_LOOP, those vertices don't show up at the same place on the screen. They are

Re: [osg-users] GL_POINTS vs GL_LINES: same vertices displayed at different positions on screen

2011-04-08 Thread Trond Vidar Stensby
Take a look at these: http://stackoverflow.com/questions/4532342/opengl-gl-lines-enpoints-not-joining http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflatNumber=235566 http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflatNumber=237621 -- Read this