Re: [osg-users] osgmanipulator example questions

2007-09-30 Thread sicong he
-- Forwarded message -- From: sicong he <[EMAIL PROTECTED]> Date: 2007-9-10 下午6:49 Subject: Re: [osg-users] osgmanipulator example questions To: "Public OpenSceneGraph Users discussion list." < osg-users@lists.openscenegraph.org> I tried by best and I fo

Re: [osg-users] osgmanipulator example questions

2007-09-10 Thread sicong he
I tried by best and I found a way to solve thi problem. The idea is: First see the scene structure: SceneRoot Teapot01 Box01 Teapot01 and Box01 are the children of SceneRoot. When I select "Teapot01", the osgManipulator::selection (I call it in my program Selection) set Teapot01 as one if its chi

Re: [osg-users] osgmanipulator example questions

2007-09-10 Thread David Callu
Hi, Can you send the osgmanipulator.cpp modified and your scene to test? David Callu 2007/9/10, hesicong2006 <[EMAIL PROTECTED]>: > > I know why. root should add an Child include the scene. > > But another question. I can drag the Teapot01, but the whole scene now > has two "Teapot". Then how c

Re: [osg-users] osgmanipulator example questions

2007-09-09 Thread hesicong2006
I know why. root should add an Child include the scene. But another question. I can drag the Teapot01, but the whole scene now has two "Teapot". Then how can I fix it? hesicong2006 wrote: > Hi, Robert > Someday before I asked a question about drag object in OSG and you told > me to see osgmanipu

[osg-users] osgmanipulator example questions

2007-09-09 Thread hesicong2006
Hi, Robert Someday before I asked a question about drag object in OSG and you told me to see osgmanipulator example. It's great. I tried to modify it as I want to move one object in the scene but the whole scene. I tried to do this in addDraggerToScene function: osg::Node* addDraggerToScene(osg::N

[osg-users] osgmanipulator example questions

2007-09-09 Thread hesicong2006
Hi, Robert Someday before I asked a question about drag object in OSG and you told me to see osgmanipulator example. It's great. I tried to modify it as I want to move one object in the scene but the whole scene. I tried to do this in addDraggerToScene function: osg::Node* addDraggerToScene(osg: