<div dir="ltr">Are you GeeKer Wang or Martin Wong? The thread was started by a different person with the same email. That's funny.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 20 September 2017 at 15:46, Martin Wong <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">Hi, Hanson,<div><br></div><div>I have given up the OSX as dev platform. While I can prepare a dev env in Linux in minutes, I have to waste weeks to solve problems in OSX. What a pity.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 20, 2017 at 1:19 AM, Chris Hanson <span dir="ltr"><<a href="mailto:xenon@alphapixel.com" target="_blank">xenon@alphapixel.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 will say, we do get OSG working on OSX and iOS for our clients, but virtually every time we do so it involves hacking around some new monkey wrench Apple has thrown in the works.<div><br></div><div>I think they really want to emphasize Metal, and are somewhat making OpenGL a bastard step-child.</div></div><div class="gmail_extra"><div><div class="m_-3412623563306267322h5"><br><div class="gmail_quote">On Tue, Sep 19, 2017 at 8:44 AM, Martin Wong <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"><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"><div><div class="m_-3412623563306267322m_6727238579002074201h5">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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-3412623563306267322m_6727238579002074201h5"><div dir="ltr">Hi Martin,<br><div class="gmail_extra"><br><div class="gmail_quote"><span>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><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><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="m_-3412623563306267322m_6727238579002074201m_2409954059999238842HOEnZb"><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></div></div><span>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></span></blockquote></div><span class="m_-3412623563306267322m_6727238579002074201HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-3412623563306267322m_6727238579002074201m_2409954059999238842gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Martin</div></div></div>
</font></span></div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div class="m_-3412623563306267322m_6727238579002074201gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="text-align:center">Chris 'Xenon' Hanson, omo sanza lettere. Xenon@AlphaPixel.com <a href="http://www.alphapixel.com/" target="_blank">http://www.alphapixel.com/</a></div><div style="text-align:center">Training • Consulting • Contracting</div><div style="text-align:center">3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL</div><div style="text-align:center"><span style="font-size:12.8000001907349px">Legal/IP •</span><span style="font-size:12.8000001907349px"> </span><span style="font-size:12.8000001907349px">Forensics •</span><span style="font-size:12.8000001907349px"> </span>Imaging <span style="font-size:12.8px">•</span><span style="font-size:12.8px"> </span><span style="font-size:12.8px">UAVs </span><span style="font-size:12.8px">• GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android</span></div><div style="text-align:center"><a href="https://twitter.com/alphapixel" target="_blank">@alphapixel</a> <a href="http://facebook.com/alphapixel" target="_blank">facebook.com/alphapixel</a> (775) 623-PIXL [7495]<br></div></div></div></div></div></div>
</div>
<br>______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-3412623563306267322gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Martin</div></div></div>
</div>
</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></div>