[osg-users] Cannot render and load OBJ when using QOpenGLWidget with osgViewer::GraphicsWindowEmbedded on OSG 3.5.6 rc2 and 3.6.4

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Tue Feb 4 05:10:50 PST 2020


HI,
I've tried to export the scene to osgt file and I found that it writes the 
structure of the node i.e. Geode s Geometries vertexes colors..etc. but the 
with all values set to zero. That's why they're not seen. 


On Thursday, January 30, 2020 at 5:50:37 PM UTC+1, mohamed selim wrote:
>
> I will try, but I doubt it would be of insight, I am not running two 
> different code, it's just launching the application using debugger or 
> without (that's it), with the debugger application always is able to render 
> the obj file, otherwise nothing is rendered.
>
>
> On Thursday, January 30, 2020 at 5:40:51 PM UTC+1, OpenSceneGraph Users 
> wrote:
>>
>> Maybe you can try to write out the Node to .osgt just after you read it, 
>> and compare the result between the working and non working version.
>> Also to try: write out the options string; maybe other options have 
>> changed as well?
>> The change in options suggests that you are somehow running different 
>> code, or have different environment settings (OSG_OPTIMIZER=OFF maybe?).
>> I know very little about Qt and cannot reproduce your problem, I can do 
>> little more than provide hints for you to search on.
>> Laurens.
>>
>> On Thu, Jan 30, 2020 at 5:07 PM OpenSceneGraph Users <
>> osg-... at lists.openscenegraph.org> wrote:
>>
>>>  
>>> Hi  laurens,
>>> I've tried osgDB::Options("noTriStripPolygons")
>>> and now I can see 
>>>
>>> VertexCacheVisitor searching all triangles
>>> but nothing is rendered.
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "OpenSceneGraph Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to osg-... at googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/osg-users/0052c00e-6e19-4f63-b9af-4a116cee872b%40googlegroups.com 
>>> <https://groups.google.com/d/msgid/osg-users/0052c00e-6e19-4f63-b9af-4a116cee872b%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> _______________________________________________
>>> osg-users mailing list
>>> osg-... at lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/a63233f6-202d-46a4-a7bf-5502a52ede72%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200204/7350782e/attachment.html>


More information about the osg-users mailing list