Windows Form Example

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Gibbo
Posts: 8
Joined: Thu Aug 10, 2006 1:17 pm

Windows Form Example

Post by Gibbo »

Hi,
Was wondering if anybody has any windows forms examples, where the scene is controlled via the windows form/events. I.E. Buttons to manipulate the camera and scene.

I'm looking to create an application to view 3DS meshs, but I want to use the Windows GUI instead of the IrrLicht gui..

Many thanks

Gibbo
shurijo
Posts: 148
Joined: Sat Feb 21, 2004 3:04 am

Post by shurijo »

I don't think there's any examples, but the code is the same as if it was in the Irrlicht event receiver.

If you add a button to add a cube, then the code behind the button click event is just device.SceneManager.AddCubeSceneNode(etc). A button to control camera would just update the camera.rotate or camera.position properties, etc.
Locked