Glass Pane and Rain Drop refraction demo - Source Included
Very nice
One thing I did notice: You can't refract a refraction (EG: If you look through the window, the dwarf just dissapears) its understandable, and wouldn't be a problem for most games, but just thought I should point it out.
Also, I think the water effect would be much nicer with something like meatballs, although I don't know if it is feasible to accomplish without ruining the speed.
~DtD
PS> Sorry for the bump, but it was discussed in here and I didn't want to get off topic there.
One thing I did notice: You can't refract a refraction (EG: If you look through the window, the dwarf just dissapears) its understandable, and wouldn't be a problem for most games, but just thought I should point it out.
Also, I think the water effect would be much nicer with something like meatballs, although I don't know if it is feasible to accomplish without ruining the speed.
~DtD
PS> Sorry for the bump, but it was discussed in here and I didn't want to get off topic there.
-
- Posts: 362
- Joined: Sun Dec 16, 2007 9:25 pm
DtD wrote:Very nice Also, I think the water effect would be much nicer with something like meatballs...
Post this userbar I made on other websites to show your support for Irrlicht!
http://img147.imageshack.us/img147/1261 ... wernq4.png
http://img147.imageshack.us/img147/1261 ... wernq4.png
Good point. Anything refractive isn't rendered when composing the render-target texture that's used in the refractive lookup. Can be solved via recursive rendering, but could get very expensive.DtD wrote:Very nice
One thing I did notice: You can't refract a refraction (EG: If you look through the window, the dwarf just dissapears) its understandable, and wouldn't be a problem for most games, but just thought I should point it out.
The other issue is the distortion of the refractive quad when it intersects the bottom edge of the viewport.
Metaballs are more useful than meatballs I would guess (unless you're hungry).DtD wrote:Also, I think the water effect would be much nicer with something like meatballs, although I don't know if it is feasible to accomplish without ruining the speed.
Metaballs are easy when there's just two of them. When there are 60000 fluid particles it gets more involved. Blindside's raindrop shader may well be good enough for most people - and it's a relatively cheap shader.
Irrlicht Demos: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781
Theres room for improvement here. It wouldn't be too difficult to use a screenquad to copy the RTT to another, then use that second RTT to draw. When switching rendertargets you simply don't clear the ZBuffer and disable the ZWriteEnable flag on the screenquad material to preserve the ZBuffer state so that when the raindrops are rendered they are properly culled.sio2 wrote:it's a relatively cheap shader.
Cheers
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
haha... by the way, THIS burnt my graphics card... i mean i don't know if actually running the example program was the reason... but after 30 seconds( i was looking at glass dwarf) i saw green artifacts and my screen went black...
my card was GF 7600GS
now i'm too frightened to experiment with irrlicht. i think i'll learn basics first and then experiment with effects
my card was GF 7600GS
now i'm too frightened to experiment with irrlicht. i think i'll learn basics first and then experiment with effects
-
- Posts: 914
- Joined: Fri Aug 03, 2007 12:43 pm
- Location: South Africa
- Contact:
It wasn't cause by Irrlicht, it was Your graphic card defect...cr33 wrote:haha... by the way, THIS burnt my graphics card... i mean i don't know if actually running the example program was the reason... but after 30 seconds( i was looking at glass dwarf) i saw green artifacts and my screen went black...
my card was GF 7600GS
now i'm too frightened to experiment with irrlicht. i think i'll learn basics first and then experiment with effects
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Yes I recently purchased a 9600GT and had to replace it for a 9800GT because of this dreaded bug: http://forums.nvidia.com/index.php?showtopic=61430
It's funny because a lot of people blamed lack of psu power, outdated drivers, etc, when in the end a 9800GT didn't even stutter once.
Anyway you might need a new card, or go easy on the overclocking.
It's funny because a lot of people blamed lack of psu power, outdated drivers, etc, when in the end a 9800GT didn't even stutter once.
Anyway you might need a new card, or go easy on the overclocking.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
i didn't overclock and my card worked fine for 2 years so i think I didn't do anything that could harm/overheat it. dunno but i updated drivers ~month before (one example of irrlicht working with newton required newest drivers) but also it seems there wasn't any negative effect - I could play e.g. bf2142 on high settings and it didn't burn.BlindSide wrote:Yes I recently purchased a 9600GT and had to replace it for a 9800GT because of this dreaded bug: http://forums.nvidia.com/index.php?showtopic=61430
It's funny because a lot of people blamed lack of psu power, outdated drivers, etc, when in the end a 9800GT didn't even stutter once.
Anyway you might need a new card, or go easy on the overclocking.
Anyway, I still think what you did is amazing but I don't think i'll try running your demo on my new card(9600GT) i have no idea how these things work, maybe this was bad coincidence or i have bad luck or something... but still it's too big risk for me I guess i'll do it anyway, after i forget what happened to my previous card
Watch out 9600GT does have that bug, you may want to stay clear. The brand I had was based on Palit I think, the 9600GT Sonic.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net