It works at last! I checked the SDK source code. Thanks for making it open source! :D
Maybe the problem was with the target updating (binding doesn't need to be made true). And regarding the movement speed, I set vsync to be true at createDevice.
If anyone is interested in the updatecamera code ...
Search found 4 matches
- Tue Jan 29, 2013 4:02 pm
- Forum: Beginners Help
- Topic: Custom camera problem with moving forward [SOLVED]
- Replies: 4
- Views: 753
- Mon Jan 28, 2013 3:48 pm
- Forum: Beginners Help
- Topic: Custom camera problem with moving forward [SOLVED]
- Replies: 4
- Views: 753
Re: Custom camera problem with moving forward
Well, I call this before the main loop:
camera->bindTargetAndRotation(true);
The problem is that, when moving forward, the model (I have a terrain model displayed) flickers in a green color and the movement is slower.
EDIT: Well, my mistake was that I updated the camera rotation vector after ...
camera->bindTargetAndRotation(true);
The problem is that, when moving forward, the model (I have a terrain model displayed) flickers in a green color and the movement is slower.
EDIT: Well, my mistake was that I updated the camera rotation vector after ...
- Sun Jan 27, 2013 5:32 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: Irrlicht 1.8 libs with D3D9 for MinGW
- Replies: 1
- Views: 2379
Irrlicht 1.8 libs with D3D9 for MinGW
The libraries included in the SDK doesn't include D3D9 rendering, so the library must be compiled. If someone wants some precompiled files, I shared them.
https://www.dropbox.com/sh/idtcy0n3gcfcon8/fA0pLJCJaF
https://www.dropbox.com/sh/idtcy0n3gcfcon8/fA0pLJCJaF
- Sun Jan 27, 2013 5:13 pm
- Forum: Beginners Help
- Topic: Custom camera problem with moving forward [SOLVED]
- Replies: 4
- Views: 753
Custom camera problem with moving forward [SOLVED]
I want to use a camera which works like the FPS camera included in the lib, but I don't want the mouse to be locked. To avoid this, I rotate the camera when I reach one of the borders. The rotation works alright, but I have problems when I move forward. Strangely, walking backwards works.
const ...
const ...