OSG model rendering issue

0 votes
asked Mar 21, 2016 by neoknip (410 points)

I am trying to add my own .osg model in the screen.

I am using the SDKs rendering APIs (ARModel) to achieve this.

My .osg model has many nodes in it (5 children).

Only the first children is getting rendered (cone).

Is there any issue with the osg model that I have created?


Also, I couldn't find a way to attach the model file with this question.

1 Answer

0 votes
answered Mar 21, 2016 by Alex (6,680 points)
selected Mar 22, 2016 by neoknip
Best answer
Hi, 5 (nodes) is really a small number so this is for sure not the problem...I guess that some information stored somewhere in the scenegraph could prevent some nodes to be rendered...


Please send the osg file to any of the available mail addresses or upload it somewhere and provide a link so we can have a look at it. Another possibility is that you just paste the content here if it is not too long.


commented Mar 22, 2016 by neoknip (410 points)
Hi Alex,
It seems the osg file that i was using had issues.
I used blender to create the model and used the OSGExport extension to export it as osgt file. I used osgconv to convert to osg and osgb as well. These files were not working.

Then I tried a different approach. I exported from blender as .obj object and used osgconv to convert it to osg, osgt and osgb file. Now it is working perfectly.

Thanks for your support.
Welcome to Developer Portal Q&A, where you can ask questions and receive answers from other members of the community.