Re: [osg-users] OSG Architecture

2013-07-31 Thread Chris Hanson
Inherit it the wrong term. The sofa Node would be parented to the room Node. But, Geode can't have children, only Groups (another kind of Node) can. So you'd make a Room Group. Its children would be the Room Walls Geode and the Sofa Geode. Rotating the Room Group would rotate all the stuff that was

[osg-users] OSG Architecture

2013-07-31 Thread Sujan Dasmahapatra
Hi, Please tell me if my understanding is correct?If create a Geode called 'room' and inherit a node from room called 'sofa'. So room->sofa. Then if we rotate room, would the sofa also rotate,?. But if we rotate sofa then room should not rotate.How can we establish an architecture like that

Re: [osg-users] OSG Architecture

2013-05-02 Thread Sujan Dasmahapatra
Thanks a lot Michael. On Fri, May 3, 2013 at 1:52 PM, michael kapelko wrote: > Hi. > Simply add your Sofa to Room as a child, and that's it. > > 2013/5/3 Sujan Dasmahapatra > >> I am newbie OSG user. Please help understanding my concept. I create a >> Geode node called 'Room'. Can we have anot

Re: [osg-users] OSG Architecture

2013-05-02 Thread Nico Kruithof
You might want a Transform ( http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00902.html) as an intermediate node between the room and the sofa. That allows you to position the sofa relative to the room. So you have the room, which has the transform as a child and the trans

Re: [osg-users] OSG Architecture

2013-05-02 Thread michael kapelko
Hi. Simply add your Sofa to Room as a child, and that's it. 2013/5/3 Sujan Dasmahapatra > I am newbie OSG user. Please help understanding my concept. I create a > Geode node called 'Room'. Can we have another Geode node called 'Sofa' > derived from 'Room' so that when I rotate 'Room' my 'Sofa'

[osg-users] OSG Architecture

2013-05-02 Thread Sujan Dasmahapatra
I am newbie OSG user. Please help understanding my concept. I create a Geode node called 'Room'. Can we have another Geode node called 'Sofa' derived from 'Room' so that when I rotate 'Room' my 'Sofa' should also rotate, but when I rotate 'Sofa' my 'Room' should not rotate. Can we establish an arc