Hi, Gordon and Vincent!
Thanks for answering my question.
I designed as following.
class XGLink : public osg::MatrixTransform
{ . }
After that, I wanna add some drawables into XGLink.
But XGLink is not a Geode. (osg::Drawable is can be add to only Geode)
So, I need to addChild (new Geode) into XGLink. And I addDrawable
osg::Drawable to the new Geode.
[ hierarchy ]
XGLink (osg::Group)
|
XGLinkGeode (osg::Geode)
|
XGDrawable (osg::Drawable)
Is this correct?
Ps. I cannot speak English so well. Please understand me J
Ps. How to reply again to reply? T-T
From: Gordon Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 06, 2008 10:39 PM
To: 'OpenSceneGraph Users'
Subject: Re: [osg-users] Some 'osg::Geode' that can be transformed should
bemade as 'osg::MatrixTransform'?
If you want to change the position / orientation of this node and its
children as in a shoulder of an arm then is really HAS to be a
transformation node and not a basic group or node
What's is the issue with using a transform node for what it is designed to
do ?
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Vincent
Bourdier
Sent: Tuesday, May 06, 2008 9:28 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Some 'osg::Geode' that can be transformed should
bemade as 'osg::MatrixTransform'?
Hi,
osg::group inherit from osg::node, so a group is a node.
Is it your question ? or it is more complicated ?
2008/5/6 Jeongseok Lee <[EMAIL PROTECTED]>:
Hi all.
This is my first question to all of you.
So, it's very naive question. J
I'm developing 3D robot dynamics simulator.
There are links of robot in that simulator. And the links can move
(transform). So I used 'osg::MatrixTransform'. But this a kind of
osg::Group. I wanna make link as 'osg::Node'.
How am I suppose to do?
================================================================
Jeongseok Lee
MS Candidate
Robotics Laboratory
School of Mechanical & Aerospace Engineering
Seoul National University
Tel : +82-2-880-7149
Cell : +82-10-8958-3791
E-mail : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
_______________________________________________
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