<div dir="ltr"><div>Hi Laurens,</div><div>thanks for the reply, I've noticed that also, that mean the Qt creator along with is triggering something (OpenGL related maybe) that in turns triggers this option switch in both cases.</div><div><br></div><br>On Thursday, January 30, 2020 at 3:49:22 PM UTC+1, OpenSceneGraph Users wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi Mohamed,<div>there seems to be a difference in options between "works.txt" and "doesntwork.txt",</div><div>doesntwork seems to run with "noTriStripPolygons" option, NOT generating a message "VertexCacheVisitor searching all triangles"</div><div><br></div><div>Laurens.<br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jan 30, 2020 at 2:59 PM OpenSceneGraph Users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="l2-8E178AQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@lists.<wbr>openscenegraph.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>When using <b>QOpenGLWidget </b>with <b>osgViewer::<wbr>GraphicsWindowEmbedded </b>to render and load <b>OBJ </b>file nothing is being rendered, I am using latest osg 3.6.5 rc2 on ubuntu 19.10 with Inel graphics Card hd 620 using Mesa 19.3. When I create a passive osgViewer::<wbr>GraphicsWindowEmbedded along QOpenGLWidget to render any geometrical shapes using normal osg::ShapeDrawable and osg Geode and it works fine, if I use osgDB::readNodeFile instead to load mesh objects using STL formats it works fine, but if I opt for OBJ format, it won't render anything I am attaching a working <a href="https://drive.google.com/open?id=1Hnc6QpOHf-i9jxXoHW1q7HjaGY2tPDJN" target="_blank" rel="nofollow" onmousedown="this.href='https://drive.google.com/open?id\x3d1Hnc6QpOHf-i9jxXoHW1q7HjaGY2tPDJN';return true;" onclick="this.href='https://drive.google.com/open?id\x3d1Hnc6QpOHf-i9jxXoHW1q7HjaGY2tPDJN';return true;">example</a></div><div><br></div><div><br></div><div>I am extending a QOpenGLWidget using... class QtOSGWidget : public QOpenGLWidget and ovveriding necessary virtual functions and having normal passive osg embedded viewer withing QOpenGLWidget. The strange thing this workflow works for me without a problem on windows 10, what's more stranger if I opt for normal osgViewer::Viewer without the Qt QOpenGLWidget it works fine and loads and renders the obj file perfectly.</div><div><br></div><div>I've attached debug output of osg using OSG_NOTIFY_LEVEL set to DEBUG. I am using Qt 5.14 and I also tried Qt 5.12, 5.9 and 5.7 and I got the same result.</div><div>Also using Qt Creator 4.11, also I discovered that when I launch the application using the debugger right from Qt creator I would be able to render it normally, if I launch the application normally without Qt creator's debugger nothing is rendered, same result with release and debug and also launching application from bash cmd line.</div><div><br></div><div>I would like to draw the attention to the fact that the OBJ sounds normal tried it with osg 3.6.5 rc2 and 3.6.4 on windows and above scenario works fine, no problem with location obj file or anything like that. I believe that the problem is coupled only with QOpenGLWidget and osgViewer::<wbr>GraphicsWindowEmbedded to load OBJ file(only) on linux (ubuntu 19.10, xubunu 18.10).<br></div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="l2-8E178AQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@<wbr>googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/43a9d8de-b692-4046-bb9f-3645cae0204c%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/osg-users/43a9d8de-b692-4046-bb9f-3645cae0204c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/osg-users/43a9d8de-b692-4046-bb9f-3645cae0204c%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/osg-users/43a9d8de-b692-<wbr>4046-bb9f-3645cae0204c%<wbr>40googlegroups.com</a>.<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="javascript:" target="_blank" gdf-obfuscated-mailto="l2-8E178AQAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="nofollow" target="_blank" onmousedown="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.openscenegraph.org%2Flistinfo.cgi%2Fosg-users-openscenegraph.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEhxcobqaKtkSCnaCeBWJ1fFl93mw';return true;" onclick="this.href='http://www.google.com/url?q\x3dhttp%3A%2F%2Flists.openscenegraph.org%2Flistinfo.cgi%2Fosg-users-openscenegraph.org\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNEhxcobqaKtkSCnaCeBWJ1fFl93mw';return true;">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div>
</blockquote></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/1dfe5634-e45e-4405-ae24-36d32d77cbfe%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/1dfe5634-e45e-4405-ae24-36d32d77cbfe%40googlegroups.com</a>.<br />