2D Water Demo - Real-time

Community Forums/Showcase/2D Water Demo - Real-time

Richard Betson(Posted 2004) [#1]


2D Water Demo

Get it here ( 806k ):
http://members.getgoin.net/~vidiot/Water.zip

Written in Blitz Plus.

Based on Hugo Elias's code:
http://freespace.virgin.net/hugo.elias/graphics/x_water.htm

Enjoy,


poopla(Posted 2004) [#2]
Looks great!


Ross C(Posted 2004) [#3]
Very nice man :)


Réno(Posted 2004) [#4]
nice, but very very very slow :0


GameCoder(Posted 2004) [#5]
Looks cool :)


Richard Betson(Posted 2004) [#6]
Thanks all :)

@Réno - Some systems will not be able to run this. But systems 1 Gighrz or better should be able to get it to run fine.

L8r,


jfk EO-11110(Posted 2004) [#7]
Could you code this in a way that it can be tiled (seamlessy) and looped? Then it could be used to generate nice animated textures.


Richard Betson(Posted 2004) [#8]
@JFK

Could you code this in a way that it can be tiled (seamlessy) and looped? Then it could be used to generate nice animated textures


Boy I would like to! I think it is possible but it would have to end being animated textures or images.

On the 3D side I have used this code to generate 3D ripples on a mesh with success. The best method seems to be to actually recording the data generated by the algorithm and applying it directly to the mesh sort of like an animated image.

Another plus to this algorithm is that waves are possible as well as flowing water like in a stream.

My goal is to get this all pakaged up in a free app so keep a look out for it :)

Here is a Real-Time 3D example based of the above code in part:
http://members.getgoin.net/~vidiot/programs/water_fx_demo_b1.zip

L8r,


jfk EO-11110(Posted 2004) [#9]
I am looking forward to see such a tool. Personally I kinda came away from animated meshes for structural things like water because it eats a lot of cpu power, compared to animated textures, mainly because you can tile textures, but you cannot tile meshes. (I mean, you can, but it will multiply the polygons etc.)


Richard Betson(Posted 2004) [#10]
@jFK

Ya know ... Check out this demo. It uses an animated Texture but not tiled. But it's a hint at what you need. I made the animated texture with Hugo's meathod.

Get it here:
http://members.getgoin.net/~vidiot/programs/pool_a.zip

I also I agree animated meshes are not the way to go for most applications but necessary for some FX in actually building the animated textures.


L8r,


jfk EO-11110(Posted 2004) [#11]
I'll have a look soonish. Got a 3D Problem on the machine I am using right now.


jfk EO-11110(Posted 2004) [#12]
I just watched it. looks very nice! now if this would be tileable - it even may have less significant ripples.

Very nice demo btw.


Clyde(Posted 2004) [#13]
Excellent work, welldone mate :)