Search found 140 matches

by Iyad
Sat Aug 07, 2010 5:20 pm
Forum: Beginners Help
Topic: plz help.blinking objects.
Replies: 1
Views: 274

Try changing the position of the cameras clipping planes. change the far value to let your camera see at a greater distance and the near value to 0.0f.
by Iyad
Sat Aug 07, 2010 5:29 am
Forum: Beginners Help
Topic: Weirdest crash ever
Replies: 12
Views: 924

Im not sure but I had almost the same error, i get it only by using opengl renderer on an old ati radeon card. When crashing, just check out if the bug occured in another dll than Irrlicht, if its the case,then you have some driver problems, otherwise, its an unknown irrlicht bug.
by Iyad
Sat Aug 07, 2010 5:19 am
Forum: Everything 2d/3d Graphics
Topic: Animation Position [SOLVED]
Replies: 2
Views: 1160

What i would suggest you is to not animate the movement of the targets, only animate when you are sure that it will keep its relative position and rotation. You can easily use the flystraight animator with a predifined path, or what id would do is to set the position of your target at the place wher...
by Iyad
Wed Aug 04, 2010 3:38 pm
Forum: Advanced Help
Topic: Mesh Decals
Replies: 11
Views: 2713

What i suggest : -Write a decal scene node, which will be called each time you shoot, here is a site where can have more information on implementaing decals : http://www.flipcode.com/archives/Decals_Explained.shtml -Add a bump and transparent layer to your decal scenenode, so it could be much more r...
by Iyad
Mon Aug 02, 2010 7:33 pm
Forum: Beginners Help
Topic: Setting up irrlicht manualy code blocks
Replies: 3
Views: 2698

In build options, get to the search directory tab, then in the Compiler lower tab, add the include folder of irrlicht.
by Iyad
Fri Jul 30, 2010 9:21 pm
Forum: Beginners Help
Topic: LoadScene() [Solved]
Replies: 7
Views: 426

Ok i recleaned the code and tried to load only 1 irrmesh, not the full scene. Result : segmentation fault in atioglxx.dll at the function ??(). This is not really helping, so i searched on the internet and it appears that it is a crash in Ati's OpenGL dll, so i need to reinstall my drivers... Just t...
by Iyad
Fri Jul 30, 2010 8:13 pm
Forum: Beginners Help
Topic: LoadScene() [Solved]
Replies: 7
Views: 426

No. I only open the application.

Anyways, this issue killed me, so i think im going to code my own scene loader, it will much more time but at least i will have 100% control on it.
by Iyad
Fri Jul 30, 2010 6:51 pm
Forum: Beginners Help
Topic: LoadScene() [Solved]
Replies: 7
Views: 426

I am really really confused, im sure its a bug. I already debugged the application and its giving me nothing! All is working when executed from the debugger. Right after, i create a .bat file which open my executable, RESULT : Everything runs perfectly! Whenever i try to run it by normaly opening it...
by Iyad
Fri Jul 30, 2010 4:58 pm
Forum: Beginners Help
Topic: LoadScene() [Solved]
Replies: 7
Views: 426

LoadScene() [Solved]

Hi everyone, I tryied everything and dont got it to work. Here is the situation : 1. I create a bullet world manager. 2. I call LoadScene(). 3. SceneManager()->DrawAll ===== CRASH!??!?! Whenever i use this framework : 1. LoadScene(). 2. Create bullet manager. 3. DrawAll =============WORK. In my bull...
by Iyad
Thu Jul 29, 2010 6:02 pm
Forum: Beginners Help
Topic: Bullet Physics & Rendering
Replies: 3
Views: 1301

1. for(int i = 0; i < 300; i++) { dynamicsWorld->stepSimulation(1/60.f, 10); btTransform trans; ballRigidBody->getMotionState()->getWorldTransform(trans); //std::cout << "ball height: " << trans.getOrigin().getY() << std::endl; } What is that? This is in your constructor and should not be ...
by Iyad
Thu Jul 29, 2010 5:38 pm
Forum: Beginners Help
Topic: irrBullet - rigid bodies reacting on fired bullet
Replies: 16
Views: 1650

I dont use IrrBullet so i dont know how it manages rigid bodys. But what i suggest you is to make a dynamic array, where you store your rigid bodys in, and where you can call them when ever you need them.
by Iyad
Thu Jul 29, 2010 3:35 am
Forum: Beginners Help
Topic: irrBullet - rigid bodies reacting on fired bullet
Replies: 16
Views: 1650

Oh srry, this was not from the Irrbullet wrapper. But looks like Irrbullet also have the function which is in IRigidBody class, the method is :

Code: Select all

void applyImpulse(const irr::core::vector3df &impulse, const irr::core::vector3df &relPos, ERBTransformSpace transformSpace=ERBTS_WORLD);
by Iyad
Thu Jul 29, 2010 3:28 am
Forum: Beginners Help
Topic: irrBullet - rigid bodies reacting on fired bullet
Replies: 16
Views: 1650

Code: Select all

void  applyImpulse (const btVector3 &impulse, const btVector3 &rel_pos) 
This was taken from the btRigidBody class, impulse is the direction of the shot, and rel_pos is the position where you hit. I never tryed this, but it should work. Hope this help.
by Iyad
Wed Jul 28, 2010 10:01 pm
Forum: Beginners Help
Topic: Clear children nodes
Replies: 2
Views: 238

It is probably a segmentation fault. Be sure that you are not using the child node after you removed it.
by Iyad
Tue Jul 27, 2010 9:22 pm
Forum: Beginners Help
Topic: rotation around point
Replies: 11
Views: 824

You could take a look at the FlyCircle animator, there is already the algorithm written, all you have to do is to tweak it a bit.