two
> matrix transforms above loaded model.
>
>
> MatrixTransformTranslate->MatrixTransformRotate->Object.
>
>
> Apply only rotations to MatrixTransformRotate
> and translations to MatrixTransformTranslate.
>
>
> Cheers,
> Wojtek
>
>
two
> matrix transforms above loaded model.
>
>
> MatrixTransformTranslate->MatrixTransformRotate->Object.
>
>
> Apply only rotations to MatrixTransformRotate
> and translations to MatrixTransformTranslate.
>
>
> Cheers,
> Wojtek
>
>
Hi Wojtek,
First, Thank you very much for your detailed reply.
1. It's my mistake to say rotation around Y axis, I always think the z axis is
actually the y axis.
2. The origin variable is
osg::Matrix origin = model1->getMatrix();
I update this variable everytime when I translate or rotate the
Hi,
I'm a newbie and not good at math.
Please
I'm so confused with osg::MatrixTransform::getMatrix().getTrans() and
getRotate().
I use the code below to rotate an object around y axis about 45 degrees.
Thank you,Rambabu.
I made a misteak, after check my lib, I can't find osgdb_rgbd.dll, that's the
problem.
The problem was solved~
Thank you,any way!
Cheers,
Jiechang
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70830#70830
Hi,
I'm a newbie.
I found that the osg cow I read from node file is different. The color of the
cow become white, it seems like the texture is gone. The code is as simple as a
helloworld pragram.
osg::ref_ptr viewer = new osgViewer::Viewer;
osg::ref_ptr gp = new osg::Group;
osg::ref_ptr node =
Thank you Alberto! I'll try it.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70791#70791
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I am dealing with a task of orienting and positioning one object relative to
another(the same object as the manipulated one,but has different position and
orientation). And when the task is finished, I wanna compute the
deviation(both position and orienting). For the orientation, I want
8 matches
Mail list logo