Re: [osg-users] GL_POLYGON could not using osgFX::Bumpmapping?

2011-04-01 Thread litingbaotou
Thanks Sebastian. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] GL_POLYGON could not using osgFX::Bumpmapping?

2011-03-31 Thread Sebastian Messerschmidt
Am 31.03.2011 07:49, schrieb litingbaotou: win7, nVidia GTX 260, driver vision 8.17.12.6099 I use GL_POLYGON to display a polygon, why? Polygons are known to be of less performance and add some other oddities, because rendering of polygons can't be done with the usual algorithms. Therefore the

[osg-users] GL_POLYGON could not using osgFX::Bumpmapping?

2011-03-30 Thread litingbaotou
Hi, all. I tried to use osgFX::Bumpmapping on a rectangle plane. I use followed fuction to crteate a bump map then set it as an osgViewer::Viewer's scene data. It works well while using GL_QUADS to create the plane. However, I found if I use GL_POLYGON to replace GL_QUADS, the bump mapping

Re: [osg-users] GL_POLYGON could not using osgFX::Bumpmapping?

2011-03-30 Thread Chris 'Xenon' Hanson
On 3/30/2011 8:32 PM, litingbaotou wrote: Hi, all. I tried to use osgFX::Bumpmapping on a rectangle plane. I use followed fuction to crteate a bump map then set it as an osgViewer::Viewer's scene data. It works well while using What platform and graphics card and driver? Why do you

Re: [osg-users] GL_POLYGON could not using osgFX::Bumpmapping?

2011-03-30 Thread litingbaotou
win7, nVidia GTX 260, driver vision 8.17.12.6099 I use GL_POLYGON to display a polygon, why? ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

[osg-users] GL_POLYGON could not using osgFX::Bumpmapping?

2011-03-28 Thread litingbaotou
Hi, all. I tried to use osgFX::Bumpmapping on a rectangle plane. I use followed fuction to crteate a bump map then set it as an osgViewer::Viewer's scene data. It works well while using GL_QUADS to create the plane. However, I found if I use GL_POLYGON to replace GL_QUADS, the bump mapping