multiple monitor and dx9 effect file support

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
sdi2000
Posts: 129
Joined: Thu Aug 25, 2005 12:19 pm
Location: Berlin, DE
Contact:

multiple monitor and dx9 effect file support

Post by sdi2000 »

Hey
i ve added some new features to the irrlicht engine v1.2
for the the existing features look here
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=17277
remember my prev version:
-multiple monitor support
-matrix patch
-32bit patch
-gui patch and so on...

and now i have implement the effect system of dx9
now u can use multiple shader for one element... aka renderpathes (only for dx9) (cur experimental but it works)
to set the values in a shader u may use an easy callback also like the shader callback.

ive also implement an callback for the onpaint method(only win) to reduce the cpu usage. (currently not work right)

the next step is to impl all potential drivers with streambuffers..
check it out and any suggestions to me pls =)

download here if u need http://dev-delight.sourceforge.net/
Last edited by sdi2000 on Fri Feb 02, 2007 4:01 pm, edited 2 times in total.
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

The Effect File implementation sounds very interesting (in fact, I've already downloaded it). The tricky thing is keeping track of state. Effect Files can contain device state but Irrlicht keeps track of device state also - I guess you have to make sure the states in the Irrlicht material match up with the states in the Effect File (or just remove device states from the Effect File).

I'm going to give this a try right away. 8)
sdi2000
Posts: 129
Joined: Thu Aug 25, 2005 12:19 pm
Location: Berlin, DE
Contact:

Post by sdi2000 »

i know sio.. the states... i work on a solution to save the states...
but it is a little bit more overhaed.. and i am a lazy people... but i do it...
i implement an interface which can be connect with the material to save the states of an already rendered material... i need this too for my open game framework... but i need more time left *cry* :D
sdi2000
Posts: 129
Joined: Thu Aug 25, 2005 12:19 pm
Location: Berlin, DE
Contact:

Post by sdi2000 »

here a pic of an ocean effect with a nvidia fxcomposer ocean.fx file.
Image

nearly all fx files from the nvidia fxcomposer works with this impl....
:D

try it out if u want but some api changes =)
sdi2000
Posts: 129
Joined: Thu Aug 25, 2005 12:19 pm
Location: Berlin, DE
Contact:

Post by sdi2000 »

here you can download a small video of the shaded water.

http://www.sdi-syndrom.de/download/water.wmv


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

Post by sio2 »

Hmm. The water looks posterised (or is it solarised?). You using PS1.1 or partial-precision?

Also, FXComposer has stopped working for me, for some unknown reason. Even a reinstall didn't fix it. :(
sdi2000
Posts: 129
Joined: Thu Aug 25, 2005 12:19 pm
Location: Berlin, DE
Contact:

Post by sdi2000 »

hm. i have reinstalled the whole nvidia sdk and then the fxcomposer after a weirdly crash with no restart. now it works again for me =)

hmm.. i dont know the right description... =)
a bump, hdr and fresnel work together in this effect.
there are two pictures.
the first is a bump map
the second (and here is the problem) is in fact a cube map =) but i use a single texture because irrlicht dont support dds files....
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Cool effects. Really nice to see that so many people are concentrating on top quality effects lately. I wish I had more time to merge all this back to the core :( But as long as you post some screen shots, movies, or demos we can at least have some incredible teasers :D
sdi2000
Posts: 129
Joined: Thu Aug 25, 2005 12:19 pm
Location: Berlin, DE
Contact:

Post by sdi2000 »

if i have a little bit more time left i add the 16/32bit streambuffer support depend from the graphic card capabilities to my impl and build a patch for all this stuff... maybe next year *joke* :D

here a night day effect called nightfall from the fxcomposer from nvidia
http://www.sdi-syndrom.de/download/nigh ... _hires.wmv

two textures (night and day texture) was blended with a bump effect
sry for the low quali of the videos... :D
Post Reply