Ok, I found something. Implementing this event handler I can move my Maya camera.
However, the movements seem a bit buggy, it's just as if Irricht kept memorized the previews mouse position between two actions.
I'm going into lot of trouble with qt and IrrLicht integration.
Since Irrlicht renders in an external window, Irrlicht disables resizing calls to CIrrDeviceWin32. But when using a mouse camera like Maya, it gets the mouse position from the CIrrDeviceWin32 CursorControl. When I resize the window, the mouse position is not updated correctly.
Is that a correct behaviour? is there a way to handle a Maya cam from an external window manager?
I'm still stuck at the first step... downloading the software! Your blog seems having some troubles and I can't download from the other link as well...
HI,
I am using unubtu and trying to compile this example with irrliht 1.7.1 , but i get errors: QIrrlichtWidget.cpp|188|error: cast from ‘void*’ to ‘irr::u32’ loses precision| line is :
Pazystamo wrote:HI,
I am using unubtu and trying to compile this example with irrliht 1.7.1 , but i get errors: QIrrlichtWidget.cpp|188|error: cast from ‘void*’ to ‘irr::u32’ loses precision| line is :
if i remove ( irr::u32 ) then in Application.cpp shows error on "Application::Application()"|42|undefined reference to `vtable for Application'|
I had the same error (also using Ubuntu btw). I just commented out the (irr::u32) and it compiles properly. I know just removing bits of code that generate errors generally isn't a good idea but it seemed to work for me