Search found 8 matches

by AbsoluteCPP
Sat Sep 11, 2010 3:39 pm
Forum: Beginners Help
Topic: Managing mass destructions in scenes with irrlicht How?
Replies: 2
Views: 224

I have used PhysX API and Irrlicht also (but not expert in both, in learning process)

Suppose if we want to create this kind of scene then we need to created huge amount of actors??

Suppose you have to make this kind of scene then how u will do??
by AbsoluteCPP
Sat Sep 11, 2010 3:18 pm
Forum: Beginners Help
Topic: Managing mass destructions in scenes with irrlicht How?
Replies: 2
Views: 224

Managing mass destructions in scenes with irrlicht How?

Is is possible to achieve these kind of results with irrlicht? http://www.youtube.com/watch?v=N1FOnpzUzZY On the startup pf the movie there is only one wall mesh, but when object hits on wall then this single wall mesh divided into hundreds or thousand of sub-meshes, If we create one scene-node for ...
by AbsoluteCPP
Thu Sep 09, 2010 3:16 am
Forum: Beginners Help
Topic: Rendring Cloth, Soft Bodies, How!!!
Replies: 1
Views: 342

Rendring Cloth, Soft Bodies, How!!!

Now a days i am spending my free time in integrating PhysX and irrlicht.. (I know wrappers already available there but i want to learn how things working under the scene) Suppose i have very well textured Cloth model exported in x file format, It is a simple 2d plane with UV Mapping in max. I want t...
by AbsoluteCPP
Tue Sep 07, 2010 6:56 pm
Forum: Off-topic
Topic: fstream C++ Programming Question
Replies: 1
Views: 710

fstream C++ Programming Question

std::fstream *fs = NULL; fs = new std::fstream(); fs->open("D:/Projects/Test_project/Release/test.txt"); if(!fs) cout << "\nUnable to Open"; *fs << "Put this text in file"; fs->close(); why this code not work, (it compiles successfully) but create no txt file as a outp...
by AbsoluteCPP
Sun Sep 05, 2010 7:03 am
Forum: Beginners Help
Topic: Setting Orientation of a node using quaternion, How?
Replies: 4
Views: 459

I wrote this code.. inline static irr::core::vector3df RotationVecPhysXtoIrr(const NxQuat &kQuat) { irr::core::vector3df vec; irr::core::quaternion quat(kQuat.x, kQuat.y, kQuat.z, kQuat.w); // quat.toEuler(vec); // convert radin to degree vec.X *= 57.2957795f; vec.Y *= 57.2957795f; vec.Z *= 57.2...
by AbsoluteCPP
Sat Sep 04, 2010 3:06 pm
Forum: Beginners Help
Topic: Setting Orientation of a node using quaternion, How?
Replies: 4
Views: 459

Setting Orientation of a node using quaternion, How?

Quat quat = mNode->getOrint();
I have rotation store in a quaternion "quat" and want to apply it to a Irrlicht Animated node, But i found no function that support quaternion.

How can i rotate my irrlicht scene nodes using quaternions???


Thanks.
by AbsoluteCPP
Fri Aug 27, 2010 6:17 pm
Forum: Beginners Help
Topic: OnPreRender() Method??
Replies: 3
Views: 544

virtual void irr::scene::ISceneNode::OnAnimate ( u32 timeMs ) [inline, virtual] OnAnimate() is called just before rendering the whole scene. Nodes may calculate or store animations here, and may do other useful things, depending on what they are. Also, OnAnimate() should be called for all child sce...
by AbsoluteCPP
Fri Aug 27, 2010 5:38 pm
Forum: Beginners Help
Topic: OnPreRender() Method??
Replies: 3
Views: 544

OnPreRender() Method??

I am searching "OnPreRender()" method, where it actually defines and implemented but unable to find.

Please help me,
I have read the documentation for the
class irr::scene::IAnimatedMeshSceneNode;
class irr::scene::ISceneNode;

but still not found that..