<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ravi,<br>
<blockquote cite="mid:1474132006.m2f.68641@forum.openscenegraph.org"
type="cite">
<pre wrap="">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"?</pre>
</blockquote>
That is probably simply by chance, since the vertex attribute is
usually the first one in the stream. The compiler will map the first
attribute there. So basically this works most of the time. <br>
<blockquote cite="mid:1474132006.m2f.68641@forum.openscenegraph.org"
type="cite">
<pre wrap="">
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? </pre>
</blockquote>
The cow model might not have texture coordinates but generated
texture coordinates. I can't test the example right now, but maybe
this is the reason. Usually when you go with vertex attribute
aliasing you need to use an appropriate shader for the data.<br>
<br>
Cheers<br>
Sebastian <br>
<blockquote cite="mid:1474132006.m2f.68641@forum.openscenegraph.org"
type="cite">
<pre wrap="">
Ravi
------------------
Read this topic online here:
<a class="moz-txt-link-freetext" href="http://forum.openscenegraph.org/viewtopic.php?p=68641#68641">http://forum.openscenegraph.org/viewtopic.php?p=68641#68641</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
</body>
</html>