Hi Martin,

The OSG supports subgraphs having multiple parents and hence multiple
world coordinates.  Whether you would want to use this facility will
depend upon the what you are trying to do - typically you'd use this
facility to place multiple subgraphs like cars wheels onto a car, or a
trees into a forest.  To find out the world coords on any subgraph
simple do node->getWorldMatrices(), this will give you a list of the
world matrices that it finds when ascending all the possible parental
paths.

Robert.

2012/2/20 "Martin Großer" <[email protected]>:
> Hello,
>
> When I get a scene graph and I want to do  something with a geode in world 
> coordinates, I have to use the world matrix of the geode (usually the 
> matrizes of the parents). Now, the difficult part is a node can have several 
> parents. I am not sure how I can manage this fact. How can I decide what the 
> right path to the root node is?
>
> What is your experience with this possibility of node compositing. Would you 
> ban multiple node references? I would be very grateful if someone can give me 
> some useful tips.
>
> Cheers
>
> Martin
> --
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to