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 graphics driver has to split polygons into
triangles, which doesn't save you anything, as you could also do this in
your code as well.
Usually it is better to use GL_QUAD or GL_TRIANGLE (or better use the
striped primitives).

cheers
Sebastian

>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to