Finally, a DirectX 10 video driver for Irrlicht

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki

Postby evandromillian » Thu Jan 13, 2011 3:51 pm

Hi amerthebest,

Yes, the code is wrong, thanks for help.

The driver is not working well with particles and 2D rendering, and shadows wasn't implemented yet. I was working in another new features, but I will return and complete basic features of the driver.

And thanks fmx, I will post FVF in that topic.
Next generation for Irrlicht!!!!!
User avatar
evandromillian
 
Posts: 40
Joined: Wed Apr 01, 2009 11:45 am
Location: São Paulo - Brazil

Postby evandromillian » Sun Jan 16, 2011 12:20 am

Now we started playing with DirectX 11:

Image

This image is the ParticleGS sample from DirectX SDK, ported to Irrlicht. This sample uses the stream output funcionality to process and draw particles entirely in GPU, instead of CPU animation.

For this, I added the method to IVideoDriver:

Code: Select all
virtual void drawAuto(IHardwareBuffer* vertices, E_VERTEX_TYPE vType = EVT_STANDARD,
            scene::E_PRIMITIVE_TYPE pType = scene::EPT_TRIANGLES) = 0;


And this method to IMaterialRendererServices:

Code: Select all
virtual bool setStreamOutputBuffer(IHardwareBuffer* buffer) = 0;


With this, we can create particle systems passing a material ID and affectors that will be just like shader callbacks.

As usual for this project, this feature is only implemented for DirectX 11 driver, but is possible to implement for OpenGL 3. With more effort, can be implemented for DirectX 9, using ATI R2VB or texture fetches on vertex buffer.

I wait your comments.
Next generation for Irrlicht!!!!!
User avatar
evandromillian
 
Posts: 40
Joined: Wed Apr 01, 2009 11:45 am
Location: São Paulo - Brazil

Postby Darktib » Sun Jan 16, 2011 9:20 am

Wow, impressing! This feature could prove very useful for particle engines like SPARK.

Very promising project, keep the good work!
User avatar
Darktib
 
Posts: 124
Joined: Sun Mar 23, 2008 8:25 pm
Location: France

Postby amerthebest » Mon Jan 17, 2011 1:27 pm

Very nice.

Next demo would be nice some Compute shader and tesselations.

:)
amerthebest
 
Posts: 2
Joined: Thu Nov 30, 2006 10:57 am

Postby zerochen » Wed Mar 23, 2011 7:38 pm

hi

any progress or is this project dead?
zerochen
 
Posts: 196
Joined: Wed Jan 07, 2009 1:17 am
Location: Germany

Postby evandromillian » Thu Apr 07, 2011 1:02 pm

Hello,

No, this project is not dead, it's only sleeping. My work is taking too much time.

But I'm thinking to create a fork with this project, because there's too much changes from original code, see:

- hardware buffers
- variable vertex type
- stream output/feedback
- multisample and texture array
- no fan triangle type (cause DX11 doesn't supports)
- compute shader (planning)

In next days you'll receive news
Next generation for Irrlicht!!!!!
User avatar
evandromillian
 
Posts: 40
Joined: Wed Apr 01, 2009 11:45 am
Location: São Paulo - Brazil

Postby 3DModelerMan » Thu Apr 07, 2011 2:21 pm

Oh good. I started writing one my self the other day, but I'm glad this one is going to be finished instead. What's left to do on this one?
That would be illogical captain...

My first full game:
http://www.kongregate.com/games/3DModelerMan/replicator#tipjar
User avatar
3DModelerMan
 
Posts: 1691
Joined: Sun May 18, 2008 9:42 pm

Postby ramin » Thu May 12, 2011 2:29 pm

Hey guys,

Thinking of contributing to the project. DX11 is good as I'm interested but not much experience with IRR or DX11.

Any other areas ? what's here to do ?
ramin
 
Posts: 1
Joined: Thu May 12, 2011 2:28 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Postby sio2 » Sun Jul 03, 2011 5:34 pm

This lib is a nice starting point. It took a bit of work to get to get the source to compile and render stuff but I got a little test app working with my own Quake3 BSP scene node. Screenie (I also posted to the July screenshot of the month compo):

Image
sio2
Competition winner
 
Posts: 1002
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Re: Finally, a DirectX 10 video driver for Irrlicht

Postby Yoran » Mon Jul 04, 2011 11:42 am

Just wanted to say, keep up the good work!
Hope you'll finish it and submit us the patch so we can integrate it.
Yoran
Site Admin
 
Posts: 92
Joined: Fri Oct 07, 2005 8:55 am
Location: The Netherlands

Re: Finally, a DirectX 10 video driver for Irrlicht

Postby Granyte » Fri Dec 30, 2011 1:21 am

is anything new happening with this?

or is there any dx10/11 driver planed or being devloped?
Granyte
 
Posts: 516
Joined: Tue Jan 25, 2011 11:07 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Postby ACE247 » Fri Dec 30, 2011 7:45 am

I don't think anything is happening... :(
Irrlicht needs a massive redesign to just even support DX10/11 or OpenGL higher than 2, and that's not happening right now.

We could maybe make a branch here though, Irrlicht Lite and Irrlicht maybe? with Lite having the old fixed function methods and being updated with features that it can support that are added to Irrlicht, with Irrlicht being upgraded to new standards.

Because in all honesty Irrlicht as is now has about all the features it's going to need as a DX9/OpenGL 2 Fixed Function Renderer Engine, I'd say its time again to make some hard decisions and move forward before Irrlicht drops so far behind that any attempt of modernizations are too complex.
H8L6L5M4G3H5M7N8S7N9O1R8J1P5M7N9O4P2Q5R6T7U4M3N8X6S5T8W (If you want the secret, why not 'TRY' decrypting it? )
This Door's lock doesn't need a key, the Lock is the key to open the Lock and you don't know how to turn the key...
Link: My Blog :)
User avatar
ACE247
 
Posts: 695
Joined: Tue Mar 16, 2010 12:31 am
Location: Namibia

Re: Finally, a DirectX 10 video driver for Irrlicht

Postby aaammmsterdddam » Fri Dec 30, 2011 12:36 pm

I'd want to see OpenGL 4.2 support in irrlicht ^^*
If one were to enable it.

is there any function that makes sure that the game wouldn't crash for people that can't support the latest openGL? (That would be. supporting every OpenGL version from x.x-4.2 and letting the engine load only what the available driver could handle)
(n^(n-n))-1
aaammmsterdddam
 
Posts: 520
Joined: Mon Oct 24, 2011 10:03 pm

Re: Finally, a DirectX 10 video driver for Irrlicht

Postby serengeor » Fri Dec 30, 2011 1:33 pm

aaammmsterdddam wrote:I'd want to see OpenGL 4.2 support in irrlicht ^^*
If one were to enable it.

is there any function that makes sure that the game wouldn't crash for people that can't support the latest openGL? (That would be. supporting every OpenGL version from x.x-4.2 and letting the engine load only what the available driver could handle)

Afaik there is a function which can retrieve the supported version by the card/?driver?. The biggest problem would be to adapt current irrlicht to work with new opengl/directx.
Working on game: Marrbles (Currently stopped).
User avatar
serengeor
 
Posts: 1695
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: Finally, a DirectX 10 video driver for Irrlicht

Postby Granyte » Fri Dec 30, 2011 6:10 pm

well irrlicht will need to make the jump one day or the other or it will go extinct


yes such function exist in dx and opengl
Granyte
 
Posts: 516
Joined: Tue Jan 25, 2011 11:07 pm

PreviousNext

Return to Project Announcements

Who is online

Users browsing this forum: No registered users and 0 guests