[osg-users] Get the world position of a node by its name / export scene from blender / import osg

Georg Gast schorsch_76 at gmx.de
Tue Apr 28 11:35:58 PDT 2015


Hi,

currently i try to find the best setup for my project. I created a scene with blender and exported it as a obj file. I loaded it into osg and all seems fine. Now i find a specific node in the scene by its name which works. I want to get the position of this node in the world, so i found a Visitor to do this, but it always returns the identity matrix. I digged a little in the obj file and found, that blender exported its vertexes at world coordinates.

So, what is the best approach to do this? My idea is, to model the world by blender and get important positions by the name of the node and its position. Is that possible? What is the recommended workflow?

Thank you!

Cheers,
Georg

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63561#63561








More information about the osg-users mailing list