<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" class="gmail_attr">On Thu, Jan 30, 2020 at 2:59 PM OpenSceneGraph Users <<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.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::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::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">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::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="mailto:osg-users+unsubscribe@googlegroups.com" target="_blank">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/43a9d8de-b692-4046-bb9f-3645cae0204c%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank">https://groups.google.com/d/msgid/osg-users/43a9d8de-b692-4046-bb9f-3645cae0204c%40googlegroups.com</a>.<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>