H20

Blitz3D Forums/Blitz3D Programming/H20

stayne(Posted 2008) [#1]
Any ideas on achieving water like this? I'm not interested in reflections (cubemapped water seems a bit too slow for my environment... even Ashadow water), just some nice water with waves and movement and the ability to change color and alpha. Nah I'm not asking for much :).

http://www.eqinterface.com/downloads/preview.php?id=5343

Hopefully some kind soul will help me out as I'm becoming overwhelmed with little tasks in my game:

http://www.blitzbasic.com/Community/posts.php?topic=76816


Naughty Alien(Posted 2008) [#2]
have you try AMT water..its really nice lib


stayne(Posted 2008) [#3]
I saw that post here http://www.blitzbasic.com/Community/posts.php?topic=53428#640166 but sadly, the site is gone.


Uncle(Posted 2008) [#4]
What about the new ExtendLib... it seems to have nice water and bunch of other useful bits and bobs :

http://www.blitzbasic.com/Community/posts.php?topic=75961

Cheers,


Unc


Ross C(Posted 2008) [#5]
Yep, the extend lib has some good stuff. Enviroment mapping texture blend which takes a normal map and ditorts your texture. No cubemapping. In fact it refuses to work with cubemapping. Looks great though :o)


_33(Posted 2008) [#6]
FastExt has faster cubemapping than the regular Blitz3d cubemapping. But for water, it has refraction and reflection with animated bump mapping and some depth fog. All this should giev you rather nice water. If you need to have the rain, there was a good example I saw in the code archive.


stayne(Posted 2008) [#7]
Very nice lib, but the example water mesh is scaled to 2,1,2 and I have noooooooo idea how to kick it way up to around 512x512. Any hints?


Uncle(Posted 2008) [#8]
Scaling it up is no problem. Simply change the following lines in the demo...


CreateWater Function

ScaleTexture BumpTexture,0.00005,0.00005

and

ScaleMesh WaterPlane,512,1,512

The only thing that really needs to be changed after you have altered the scale of the waterplane is the bumptexture which changes the size of the ripples.


stayne(Posted 2008) [#9]
Ah I see, this uses a .3ds mesh.