Guidance on developing a WinForm App (C#) with IrrLicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
eriveraa
Posts: 7
Joined: Wed Aug 20, 2008 11:19 pm

Guidance on developing a WinForm App (C#) with IrrLicht

Post by eriveraa »

Hi, i am new to IrrLichtand i have some questions where i would like some guidance.

First of all, i have developed an utility for civil engineers called: Secciones (http://secciones.wordpress.com/2008/07/ ... secciones/) that allows to calculate cross-section properties like Area, Inertia Moments, etc. That program was developed with VS2005 (C#) using Winforms and the external Library ZedGraph for the visualization of graphics in 2D.

ZedGraph is nice, it has some built-in functionality like panning, zoom with the mouse, but now i would like to see my cross-section in 3D (by extruding the 2d cross-section) with some perspective and the ability to have panning, zooming, rotating. So, i have these questions:

* My application need to show graphics inside a Windows Form (not the whole form area). I mean showing graphics in a graphic control that is inside my form. Is that possible?
* I need to allow the user to interact with the graphics for panning, zooming, rotating and select objects like points or lines (this is really important!). Is that possible?, are there any examples?
* I would like to see my 2D cross-section in 3D (by extruding the 2d cross-section) with some perspective and the ability to have panning, zooming, rotating in 3D, is that possible?, examples?.
* I want to show a terrain and put my 3D objetct (an extruded 2D cross-section) on top. Is that possible?
* Is there a way to capture the graphic and export it to a image file (jpg, bmp, etc.) ?
* Can i use IrrLicht in a Windows Forms Application with VS2008?, Are there any step-by-steps guides on using it?

I am really interested on using IrrLicht but i need some answers and guidance.

Thanks in advance.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Please check example 14, which shows how to render Irrlicht into a Windows widget. This should answer most of your questions already, at least those which are not answered by the feature list (Adding Terrain is possible, as well as capturing screenshots).
Extruding a 2d image is not possible from within Irrlicht, you have to provide the 3d models to build the scene. Please check the other examples for a guide how this would work.
Post Reply