Dark Bit Factory & Gravity

PROGRAMMING => Other languages => Blitz => Topic started by: Tetra on August 25, 2006

Title: WaterFun + Source (Blitz 2d)[BB2D]
Post 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]
Title: Re: WaterFun + Source
Post by: Dad1916 on August 25, 2006
Really nice, thanks for sharing. I must try porting it to BlitzMax shortly.
Title: Re: WaterFun + Source
Post by: zparticle on August 28, 2006
Very cool
Title: Re: WaterFun + Source
Post by: Shockwave on August 28, 2006
You should definately use this somehow Daf. It's too good to waste.
Title: Re: WaterFun + Source
Post by: relsoft on August 29, 2006
Whooa!!! That's cool!!!

FB version!!!!

I don't have Bmax. :*(
Title: Re: WaterFun + Source
Post by: Tetra on August 29, 2006
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:
 
Title: Re: WaterFun + Source
Post by: Rbz on August 30, 2006
Great water effect in 2D, really cool !
Title: Re: WaterFun + Source
Post by: taj on October 03, 2006
Very nice smooth effect.