Horde3D
http://horde3d.org/forums/

Water scene node
http://horde3d.org/forums/viewtopic.php?f=4&t=702
Page 1 of 1

Author:  phoenix64 [ 17.04.2009, 01:44 ]
Post subject:  Water scene node

I've written a projected grid water scene node, and, while it's far away from being finished, it begins to look usable.

Image

The shader used currently only features very simple skybox reflection (I am not that good at writing shaders :D), but should be easy to adapt to anything else. For the geometry, in the screenshot I used a 64x64 projected grid (http://graphics.cs.lth.se/theses/projects/projgrid/), the waves use simple perlin-noise like noise, with the normals being computed on the gpu.

The code is structured in such a way that geometry and noise generator are separated and exchangeable with little work needed.

The code is available in my git repository, it depends on some changes not in the Horde3D repository:

http://github.com/mgottschlag/horde3d/c ... -scenenode

Thanks to Dark_Kilauea for his bugfixes! There is still one really visible bug left, there are artifacts whenever the viewer moves quickly relative to the water (missing mipmapping for the heightmap), also there are still some performance problems left.

Author:  marciano [ 18.04.2009, 08:45 ]
Post subject:  Re: Water scene node

Very interesting!

I will check it out in the next days...

Author:  DarkAngel [ 19.04.2009, 10:03 ]
Post subject:  Re: Water scene node

Very cool. I'd like to see a wire-frame screenshot... :D

Author:  phoenix64 [ 19.04.2009, 11:44 ]
Post subject:  Re: Water scene node

Image

Author:  Siavash [ 19.04.2009, 15:24 ]
Post subject:  Re: Water scene node

This is a little offtopic but I cant see the images !? I'm using FireFox 3.08 and it shows "image" instead of an image.

Author:  Volker [ 19.04.2009, 18:53 ]
Post subject:  Re: Water scene node

Maybe your country blocks access to img411.imageshack.us ? Don't know

Author:  Siavash [ 19.04.2009, 18:59 ]
Post subject:  Re: Water scene node

Now I can see them using PhProxy, nice screen shot :)

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/