1, 2009 9:31 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] newbie question (UNCLASSIFIED)
>
> Hello Daniel,
>
> > translate->addChild( rotate.get() );
> > camera->addChild(translate.get());
> > translate->addChild( tr
Hello Daniel,
translate->addChild( rotate.get() );
camera->addChild(translate.get());
translate->addChild( triangle.get() );
You're adding the triangle to the translate, but the rotate is also a
child of the translate, so they're siblings. The triangle shou
Classification: UNCLASSIFIED
Caveats: NONE
I'm translating some opengl code to OpenSceneGraph.
I've figured out how to most of the stuff I need except
I'm having trouble getting the rotations and translations to
play nice.
My code example that I need to translate:
glTranslatef(hud_aspect
3 matches
Mail list logo