[osg-users] osg_Vertex with GL compatibility profile

Ravi Mathur ravidavi at utexas.edu
Sat Sep 17 10:06:46 PDT 2016


Thanks Robert!

So do you know why using osg_Vertex works *without* using setUseVertexAttributeAliasing() on so many machines? I am compiling OSG with GL2 (no GL3 flags) on all machines. Is it just "undocumented behavior"?

Next question: if I use setUseVertexAttributeAliasing, then many of my textured polygons (e.g. Sphere) have what appears to be a flat color on them. The actual color used seems to be related to one point on the texture.

I see similar behavior if I run the "osgvertexattributes cow.osg" example (see attachment). Is Vertex Attribute Aliasing something that's only intended for GL3?

Ravi

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68641#68641



-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgvertexattributes_cow.png
Type: image/png
Size: 138630 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160917/9927a09d/attachment-0003.png>


More information about the osg-users mailing list