Hi Wojtek,
I'm so sorry that I replied too late. I was held up by my paper's submission
deadline. And the problem I think is solved.
Thank you very much.
Cheers,
Jiechang
Wojtek wrote:
> Hi Jiechang,
>
>
> I am not sure I am able to pinpoint your problem. I see some weak spots but I
> am not
Hi Wojtek,
I'm so sorry that I replied too late. I was held up by my paper's submission
deadline. And the problem I think is solved.
Thank you very much.
Cheers,
Jiechang
Wojtek wrote:
> Hi Jiechang,
>
>
> I am not sure I am able to pinpoint your problem. I see some weak spots but I
> am not
Hi Jiechang,
I am not sure I am able to pinpoint your problem. I see some weak spots but
I am not sure if those are the true causes of your problem. And don't want
to give wrong clues. Can you write short repro program which demos your
problem ? I may then fix it and send you back.
To learn you
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 Jiechang,
Few observations:
1. You write you want rotation around Y axis (0,1,0). But you rotate around
Z axis (0,0,1). Btw there are osg::X_AXIS = (1,0,0) , osg::Y_AXIS =
(0,1,0), osg::Z_AXIS = (0,0,1) constants defined in OSG which you may
directly.
2. What is the origin variable in your
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.
6 matches
Mail list logo