Search found 36 matches

by USE.IRR
Wed Aug 29, 2007 3:33 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

thanks I understand you.

:)
by USE.IRR
Wed Aug 29, 2007 2:42 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

Yes I see :roll:

But

Code: Select all

matrix2 *=matrix1;
give one rotation not two.
by USE.IRR
Wed Aug 29, 2007 2:13 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

core::matrix4 matrix1; matrix1.setRotationDegrees(planetAxisRotation); core::matrix4 matrix2; matrix2.setRotationDegrees( core::vector3df(0, pRrotation, 0) ); matrix1 *= matrix2; planet->setRotation( matrix1.getRotationDegrees() ); The code is working. Why using two rotation (matrix1 and matrix2) t...
by USE.IRR
Wed Aug 29, 2007 12:04 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

Well, probably not. I think your code would not work if you rotate your planet axis. I'm sure, my code is working fine and my planet do the two rotations : the relative rotation (arround it self) and the global rotation (arround the star). Your code animates the cube by the result of the two animat...
by USE.IRR
Wed Aug 29, 2007 9:32 am
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

with this code every thing will go OK. ... f32 rotationSpeed2 = 1.1f; f32 rotation2 = 0.0f; ... ... rotation2 += rotationSpeed2; ... ... core::matrix4 matrix2; matrix2.setRotationDegrees(core::vector3df (0 ,rotation2 , 0) ); planet->setRotation(matrix2.getRotationDegrees()); ... :lol:
by USE.IRR
Wed Aug 29, 2007 8:52 am
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

arras >> thank you,:D

but I want the make the planet turn around its axis like in the picture.
by USE.IRR
Wed Aug 29, 2007 7:43 am
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

Is this impossible? :(
by USE.IRR
Tue Aug 28, 2007 5:01 pm
Forum: Project Announcements
Topic: Bullet physics demo
Replies: 69
Views: 47661

thanks :D
by USE.IRR
Tue Aug 28, 2007 10:23 am
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

Hi all, I am using this code to have the animation shown in the picture. But I can not see the correct animation. f32 gradius = 1.0f; //Current rotation matrix4 currentRotation; currentRotation= node1->getRelativeTransformation(); //Constant rotation1 matrix4 constRotation1; //SUN Axis constRotation...
by USE.IRR
Mon Aug 27, 2007 4:35 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

arras >> mmmmmmmmmmmeeeh (a kiss)

Others thanks. :D
by USE.IRR
Mon Aug 27, 2007 4:18 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

void CSceneNodeAnimatorFlyCircle::animateNode(ISceneNode* node, u32 timeMs) { if ( 0 == node ) return; const f32 t = (timeMs-StartTime) * Speed; //the problem is here [b]core::vector3df circle(Radius * sinf(t), 0, Radius * cosf(t));[/b] circle = circle.crossProduct ( Direction ); node->setPosition(...
by USE.IRR
Mon Aug 27, 2007 3:39 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

I can not have a correct animation with this:

Code: Select all

scene::ISceneNodeAnimator* anim = smgr->createFlyCircleAnimator(core::vector3df(0,1,0),20.0f,0.0005f,core::vector3df(1,0,0));

box1_node->addAnimator(anim);
anim->drop();
is there a bug in createFlyCircleAnimator?
by USE.IRR
Mon Aug 27, 2007 2:15 pm
Forum: Beginners Help
Topic: [SOLVED] Turn arround an Axis?
Replies: 26
Views: 1389

[SOLVED] Turn arround an Axis?

Hi All;

How can I make a node turn arround an axis?

I can just rotate it around him self

:?
by USE.IRR
Sat Aug 25, 2007 11:44 am
Forum: Beginners Help
Topic: Saving Irrlicht Context to Video file?
Replies: 2
Views: 292

nice idea, :idea:

It can be done with an mpeg library.
I will try do it.

Hope do it :roll:
by USE.IRR
Fri Aug 24, 2007 10:06 am
Forum: Beginners Help
Topic: Saving Irrlicht Context to Video file?
Replies: 2
Views: 292

Saving Irrlicht Context to Video file?

Hi all;

How can I Save Irrlicht Context to Video file? (mpeg or others). (without any software)

I need what classes can provide such service in irrlicht.




:?