Page 2 of 5
Posted: Sun Mar 30, 2008 4:30 pm
by MasterGod
Maybe you should all just update your drivers cause my specs are little below Virion's and it runs fines for me..
Posted: Sun Mar 30, 2008 4:39 pm
by benny53
I don't think its the drivers, I have the latest driver for my 8800gts from nvidia. Oh, and I'm getting the black lines and what not as well. The rain drops act fine though.
Posted: Sun Mar 30, 2008 5:21 pm
by xDan
Wow, a shader from BlindSide that actually runs on my old laptop :P
Those rain drops would look nice dripping down the glass plane!
Posted: Mon Mar 31, 2008 1:19 am
by BlindSide
xDan wrote:
Those rain drops would look nice dripping down the glass plane!
Yes that was the original plan, expect to see something like this soon
@Everyone with problems, I'm sure I already fixed those problems, maybe you are downloading a cached version from the ftp or something? Can you try downloading again Virion and see if it works.
Make sure that line 40 of "GlassP.glsl" is:
Code: Select all
spec = clamp(pow(spec,16.0),0.0,1.0);
BTW: Has anyone actually tried/read the tutorial? I spent some effort commenting the code and making it easy to understand.
PS: Who thinks the raindrops look better like this?
To try it change line 23 of DropP.glsl to:
Code: Select all
projCoord.xy += ((TexOff.xy - vec2(0.5,0.5)) / 5.0);
Posted: Mon Mar 31, 2008 2:08 am
by Halifax
I was going to have a look at it when I get more time, and XEffects. But to be honest, I have been very busy lately, and cannot do anything programming related.
I do like the fact that you took the time to comment it out though, kudos.
Posted: Mon Mar 31, 2008 2:32 am
by jingquan
Yes I did read it, good job. Close to 200fps on my ATI 3850 looking at the glass plane. I didn't knew there was a bug with setting particles visibility, thought my code was malfunctioning...Anyway, nice thinking with the alpha trick.
Too bad it's another scene.render() that made me drop glass rendering.
Posted: Mon Mar 31, 2008 4:55 am
by BlindSide
jingquan wrote:
Too bad it's another scene.render() that made me drop glass rendering.
But it sure does look pretty doesn't it?

Maybe you can enable it only for high settings. I mean theres always gonna be someone with a 8800GTS that can run your game way too fast anyway.
Posted: Mon Mar 31, 2008 11:15 am
by monkeycracks
Blindside you're my hero :p
This looks amazing
Posted: Mon Mar 31, 2008 12:09 pm
by BlindSide
Ok this last update should fix it on most machines. Can anyone thats been having trouble download it again and see if it works correctly now?
@Arras: Oh yeah I just realised this ones dynamically runtimed so you need the MSVC 2005 Runtime pack (Yes it crashes sometimes without it, Microsoft, go figure eh

).
Posted: Wed Apr 02, 2008 12:18 am
by BlindSide
Did anyone try sticking an animated mesh in there? :
I've updated the executable and the source to include this

Posted: Wed Apr 02, 2008 8:59 am
by FuzzYspo0N
i actually laughed out loud. u and that dwarf blinside... one of these days.
It looks awesome though. well played
Posted: Thu Apr 03, 2008 1:25 am
by agi_shi
Looks very nice, good job!
Just a little nitpick (you've probably seen this already, though), you'll need a custom clipping plane (especially with large objects; rain drops don't artifact too badly). Otherwise, you'll get ghost refractions from occluders in the frame buffer (same concept as reflection/refraction/portals). Just shear the near clip plane before rendering to the rtt, or take advantage of today's cards user clip planes.
Posted: Thu Apr 03, 2008 2:58 am
by BlindSide
Yep, well spotted agi_shi. I was thinking of adding a clip plane to the glass pane's refraction but I figured its going a bit far for this tutorial (And I also hear that something is wrong with Irrlicht's classifyPointRelation function for plane3df (I think), so I would have to use my own methods to calculate which side of the glass the viewer is on).
Cheers
Posted: Tue May 20, 2008 9:46 pm
by vectorcorpse
running very nicely on linux 30fps on a GF6200LE

i can't wait to see the progress of u'r water demo and the metaball demo.
Posted: Wed May 21, 2008 5:27 am
by JDHunter
Hey BlindSide,
thx for nice tutorial, very nice work...
very helpful... big thx for release the source
currently successful tested on laptop with a Radeon XPRESS200 SERIES

8FPS, all shader run correctly
later i will test it on 8800gts