<div dir="ltr"><div>Hi, Robert,</div><div><br></div>Well, Ubuntu in vmware seems better than MacOS. At least there is something shown.<div>Is this result correct?</div><div><br></div><div> <img src="cid:ii_j7rpms660_15e9a986645d9ce7" width="528" height="528"></div><div><br></div><div>----</div><div>Martin<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 7:23 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Martin,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 18 September 2017 at 10:23, GeeKer Wang <span dir="ltr"><<a href="mailto:wwthunan@gmail.com" target="_blank">wwthunan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am actually using the git version, which doesn't work. Although I have:<div><br></div><div>glVersion=4.1, isGlslSupported=YES, glslLanguageVersion=4.1, </div><div><br></div><div>there are still errors for osgsimplegl3:</div><div><br></div><div><div>Warning: detected OpenGL error 'invalid enumerant' at Before Renderer::compile</div><div>WARNING: Could not find vertex shader attribute 'osg_MultiTexCoord7' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_MultiTexCoord5' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_SecondaryColor' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_MultiTexCoord1' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_MultiTexCoord6' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_FogCoord' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_Color' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_MultiTexCoord4' to match BindAttributeLocation request.</div><div>WARNING: Could not find vertex shader attribute 'osg_MultiTexCoord2' to match BindAttributeLocation request.</div></div></div></blockquote><div><br></div></span><div>Others are using GL Core Profile under OSX with git master OK, I will have to leave it to them to help you further on OSX as I don't have OSX myself.<br></div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Even not for Mac, how about mesa3d, which doesn't work if no special graphic?</div></div></blockquote><div><br></div></span><div>I haven't tested Mesa3D on a Mac so can't comment on this. In principle is should work, but Mesa3D isn't just one version... <br></div><span class=""><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>For example, I tried osgsimplegl3 in ubuntu in parallel virtual machine,</div><div><br></div><div>VERTEX glCompileShader "" FAILED</div><div>VERTEX Shader "" infolog:</div><div>0.1(10): error: GLSL 1.40 not supported</div><div><br></div><div>because mesa3d only support GLSL 3.3 in core profile. </div><div><br></div><div>Then OSG doesn't support core profile in linux. Am I right? Or is there special compiling flags to turn on?</div></div></blockquote><div><br></div></span><div>git master should support it just fine.</div><div><br></div><div>FYI, I develop under Kubunutu as my main dev system and test out various version of GLSL as part of my work. <br></div><div><br></div><div>Typically under Linux you don't need to explicitly compile against GL Core Profile, everything works fine with the compatibility Profile. I am aware that recent support for recent GL versions in Mesa has temporarily not provided the Compatibility Profile. but this is likely to change in future. I recently checked in code to explicitly requesting specific version of GL when creating graphics context, have a look at the logs for osgViewer.</div><div><br></div><div>What may be affecting you is GL support under the virtual machine, doing so just adds more layers that can compromise full support of the hardware.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Robert.<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div></font></span></div><br></div></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Martin</div></div></div>
</div>