Page 1 of 1

IrrlichtFramework

Posted: Wed Apr 04, 2007 5:50 pm
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

Posted: Fri Apr 06, 2007 2:29 pm
by siberzeka
good work :mrgreen:

Posted: Fri Apr 06, 2007 5:45 pm
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.

Posted: Tue Jun 05, 2007 3:18 pm
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.

Initializing

Posted: Mon Aug 06, 2007 11:49 pm
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";
        }

Posted: Tue Aug 07, 2007 12:08 am
by slaaitjuh
nevermind i am sometimes a bit new to this kind of stuff

use the constructor() and then : base() to pass arguments :)

Posted: Thu Sep 06, 2007 11:34 am
by neo_hito
:o that's good work!
can't access the updated one though

Posted: Tue Sep 11, 2007 3:33 pm
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

Posted: Thu Oct 04, 2007 7:21 pm
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

1.4

Posted: Tue Nov 13, 2007 10:27 am
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