By ayazalavi
on Wed, 06/20/2012 - 17:10
Hi,
I am trying to rotate 3d model by using following code but it is not working.
ShaderUtils::rotatePoseMatrix(60, 1, 0, 0);
I am writing it before
ShaderUtils::translatePoseMatrix(0.0f, 0.0f, kObjectScale, &modelViewMatrix.data[0]);
ShaderUtils::scalePoseMatrix(kObjectScale, kObjectScale, kObjectScale, &modelViewMatrix.data[0]);
What is the issue?
Thanks
Ayaz Alavi
Re: Rotating the 3d model
Re: Rotating the 3d model
Re: Rotating the 3d model
Re: Rotating the 3d model
Re: Rotating the 3d model
Rotating the 2d model
Hi,
I am able to rotate a 2d texture image by specifying
ShaderUtils::rotatePoseMatrix(rotateBowlAngle, 0.0f, 1.0f, 0.0f,
Rotating the 3d model
hi,
now i am able to translate the 2d texture with animation.
Rotating the 3d model
Not sure what exactly you are trying to do as you have revived a very old thread.