Dark Bit Factory & Gravity
PROGRAMMING => Other languages => Blitz => Topic started by: Tetra on August 25, 2006
-
Some of you mite remember this effect I made a long time ago on Clydes forum. Having recently seen Blitz Amateurs water sim it reminded me of mine.
Named WaterFun, it was a 640x480 water effect made with BlitzBasic that ran at a fairly decent speed. I had never released the source so I will do so now :)
To sum up how it works, the wave map is a low detail, while the texture is high detail. The low detail map I use to calculate texture coord offsets, then i use a textured polygon fill routine to render it onto the screen, giving the effect of a highdetail wave.
Enjoy
p.s Although this will compile fine with BlitzBasic, Blitz3D is the better compiler to use.
[edit ~ Blitzversion added to topic title]
[edit ~ Source code attached]
-
Really nice, thanks for sharing. I must try porting it to BlitzMax shortly.
-
Very cool
-
You should definately use this somehow Daf. It's too good to waste.
-
Whooa!!! That's cool!!!
FB version!!!!
I don't have Bmax. :*(
-
Glad you like it guys, Dont worry Shock, I will be using it in my first ever real production :) its going to be big.
FB version uploaded Rel, It was one of the first thins I ever wrote in FB, and last lol, thats how well I know FB :whack:
-
Great water effect in 2D, really cool !
-
Very nice smooth effect.