gasdeveloper
22-08-2011 06:14:16
I am having some problems finding a way to do the following.
I have Mogre attached and rendering to a Panel object in my Winforms application. I am developing a Scene (Level) editor and would like to have direct interaction to the render surface and the mouse, for like dragging entities around in the 3d world.
at the moment everything I do is handled on the Winforms GUI and input system, however I would like to place Axis arrows on nodes and be able to move them directly in the rendering surface.
I have been trying to use MOIS however it crashes if I attach it to the panels Handle or if I get the mRenderWindow (ogre window object) and get its Parent Handle like in the example when it is attached to the panel. It works if I use the forms handle though.
Any examples of this, or help?
I have Mogre attached and rendering to a Panel object in my Winforms application. I am developing a Scene (Level) editor and would like to have direct interaction to the render surface and the mouse, for like dragging entities around in the 3d world.
at the moment everything I do is handled on the Winforms GUI and input system, however I would like to place Axis arrows on nodes and be able to move them directly in the rendering surface.
I have been trying to use MOIS however it crashes if I attach it to the panels Handle or if I get the mRenderWindow (ogre window object) and get its Parent Handle like in the example when it is attached to the panel. It works if I use the forms handle though.
Any examples of this, or help?