Search found 6 matches
- Sun Mar 22, 2015 9:06 am
- Forum: Beginners Help
- Topic: run method immediatly returns false for second IrrlichtDevic
- Replies: 7
- Views: 1104
Re: run method immediatly returns false for second IrrlichtD
Indeed, it's a 'Close' variable defined in CIrrDeviceStub.h, put to false in CIrrDeviceWin32.cpp in the closeDevice method, and not reinitialized by the createDevice method. But I'm really surprised that it's not even after unloading and reloading my library... It looks like Windows keep my first me...
- Sat Mar 21, 2015 10:19 pm
- Forum: Beginners Help
- Topic: run method immediatly returns false for second IrrlichtDevic
- Replies: 7
- Views: 1104
Re: run method immediatly returns false for second IrrlichtD
I don't see why that could cause any problem. All I do is sequencial, single threaded too.
- Sat Mar 21, 2015 7:15 pm
- Forum: Beginners Help
- Topic: run method immediatly returns false for second IrrlichtDevic
- Replies: 7
- Views: 1104
run method immediatly returns false for second IrrlichtDevic
Hi, I'd like to create a second IrrlichtDevice after closing and droping a first one. Something like this : IrrlichtDevice * poDevice = createDevice(EDT_OPENGL, dimension2d<u32>(800, 600), 32, false, true, false); while(poDevice->run()) { // ... } poDevice->closeDevice(); poDevice->drop();...
- Sat Feb 28, 2015 2:53 pm
- Forum: Beginners Help
- Topic: Strange behaviour of setRotation around Z axis
- Replies: 4
- Views: 853
Re: Strange behaviour of setRotation around Z axis
Ok, I think I got it. The mesh is always rotating around the world axis, and in a particular order. I didn't get what you mean by Y1 and Y2, though, but that's not really relevant, I think...
Thank you.
Thank you.
- Sat Feb 28, 2015 8:33 am
- Forum: Beginners Help
- Topic: Strange behaviour of setRotation around Z axis
- Replies: 4
- Views: 853
Re: Strange behaviour of setRotation around Z axis
Thank you KH. I've done my homework, I did read this post. Maybe I haven't stressed it enough, but I'm rather looking for an explanation than a solution. This post has some good working code, but no one seems to understand why a simple setRotation can't do the trick. Why it behave like it does. Ther...
- Sat Feb 28, 2015 12:10 am
- Forum: Beginners Help
- Topic: Strange behaviour of setRotation around Z axis
- Replies: 4
- Views: 853
Strange behaviour of setRotation around Z axis
Hi, I'm a beginner in 3D programming, and I currently am trying to understand Irrlicht by programming a little controllable space ship. The purpose is to be able to throttle in any 6 directions, and rotate independently as well. So far, I've been able to deal with the moving. But the rotating part i...