IrrlichtFramework

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
noone88
Posts: 49
Joined: Sat May 27, 2006 3:28 pm

IrrlichtFramework

Post by noone88 »

Hi, i am working on a new project called Irrlicht Framework.

It will contain Newton, Irrlicht and OpenAL - all wrapped in pure C#.

Here is a alpha version... Showing Newton Physics

Code: Select all

http://www.file-upload.net/download-239799/IrrlichtFramework.zip.html
The 'Irrlicht-Part' comes completely from IrrlichtCP (http://irrlichtnetcp.sourceforge.net/in ... /Main_Page). I added the complete project to the framework, because the most types can be shared. (For example the Vector3D and the Matrix4 class)

Have fun
siberzeka
Posts: 13
Joined: Sat Mar 31, 2007 2:31 pm

Post by siberzeka »

good work :mrgreen:
noone88
Posts: 49
Joined: Sat May 27, 2006 3:28 pm

Post by noone88 »

Here is an update:
http://www.file-upload.net/download-241 ... k.zip.html

The examples are a bit crappy coded, but it's c# - easy to read, easy to write

New:

- OpenAL implemented (full 3D sound)
- Newton example shows a non geometric mesh
- Debug drawing newton

-> still early alpha

EDIT: I forgot to mention what the example does:

press left mouse to throw a normal cube
press right mouse to throw a stone (unregular mesh)
press mousewheel to debug draw newton

note: the last created cube represents a soundsource (looping sound found in the OpenAL SDK) in the 3d world. The camera is the listener.
C4Cypher
Posts: 10
Joined: Tue Jun 05, 2007 12:17 pm

Post by C4Cypher »

Talking as somone who is still getting familiar with the .NET framework via VB.NET, will the irrlichframework namespaces and classes be extensible to VB.NET? I know that the default answer is yes, but I know there are a few small compatability issues between C# and VB and I was wondering if you'd taken VB into consideration at all.

PS if you pull this project off, VB C# or whatever .NET language, you will still rock.
"I got a present for you" -Commando
"May the way of the Hero Lead to the Triforce" -If you have to ask, I'll beat you with a herring
slaaitjuh
Posts: 26
Joined: Tue Oct 31, 2006 5:07 pm

Initializing

Post by slaaitjuh »

Is there a way to initialize my test project with something different then openGL2.0? I see the game() function which provides that but i do not know how to call it

Code: Select all

        /// <summary>
        /// Initializes a new instance of this class, which provides basic graphics, physics and sound device initialization, game logic, rendering code, and a game loop.
        /// </summary>
        public Game()
        {
            m_irrDevice = new IrrlichtDevice(DriverType.OpenGL, new Dimension2D(640, 480), 32, false, false,false, false);
            m_openALDevice = new OpenALDevice(null); m_context = new Context(m_openALDevice);
            m_newtonWorld = new NewtonWorld();

            m_irrDevice.WindowCaption = "IrrlichtFramework";
        }

        /// <summary>
        /// Initializes a new instance of this class, which provides basic graphics, physics and sound device initialization, game logic, rendering code, and a game loop.
        /// </summary>
        public Game(DriverType type, Dimension2D dim, int bits, bool fullscreen, bool stencil, bool vsync, bool antialias)
        {
            m_irrDevice = new IrrlichtDevice(type, dim, bits, fullscreen, stencil, vsync, antialias);
            m_openALDevice = new OpenALDevice(null); m_context = new Context(m_openALDevice);
            m_newtonWorld = new NewtonWorld();

            m_irrDevice.WindowCaption = "IrrlichtFramework";
        }
slaaitjuh
Posts: 26
Joined: Tue Oct 31, 2006 5:07 pm

Post by slaaitjuh »

nevermind i am sometimes a bit new to this kind of stuff

use the constructor() and then : base() to pass arguments :)
neo_hito
Posts: 3
Joined: Wed Sep 05, 2007 4:33 am

Post by neo_hito »

:o that's good work!
can't access the updated one though
noone88
Posts: 49
Joined: Sat May 27, 2006 3:28 pm

Post by noone88 »

mhhh... i don't know, why the files always get deleted... maybe someone want to host this file?

http://www.file-upload.net/download-243 ... k.zip.html
Q-efx
Posts: 14
Joined: Fri Dec 02, 2005 7:23 pm

Post by Q-efx »

no problem, just look at your priv.msg.box ;)


Ok here is a link

http://www.u-r-reality.de/irrlicht/irrl ... mework.zip
-= http://WWW.U-R-Reality.de =-

UNITED- REGIONS

A social development project
alex_nz
Posts: 4
Joined: Thu Aug 10, 2006 3:16 am

1.4

Post by alex_nz »

Thanks for the wrapper man, it's helped me a lot already so far.
I am wondering if you are going to wrap up the new version of irrlicht?

I had a go at fleshing out some of the newton joint classes in your wrapper with some success, but the scene node class look a lot more complicated... I'm just downloading the latest irrlicht now, so I will give it a go but i'm not expecting any success.

:) Cheers noone88
...--== Alex ==--...
Locked