Sign in to follow this  
MattSmith_79985

Direct X Water Tutorial?

Recommended Posts

For some reason it seems impossible to find a non-dx9 water tutorial. I can find tons of intro stuff but nothing on water and how thats done?

I've found a few DX9 stuff but since it's kinda outdated I wanted to see how it would be done in DX10. Any ideas?

Share this post


Link to post
Share on other sites
You can do it the same way in DX10, though there might be techniques to simplify or improve things with newer hardware. Once you grasp the DX9 implementations and can implement the same in DX10, check NVidia or ATI samples which might contain smart ways to improve things. Try [url="http://developer.nvidia.com/directx"]http://developer.nvidia.com/directx[/url] or [url="http://developer.amd.com/sdks/radeon/Pages/default.aspx"]http://developer.amd.com/sdks/radeon/Pages/default.aspx[/url]. I think all versions of their SDKs contain water samples.

Share this post


Link to post
Share on other sites
[quote name='VISQI' timestamp='1307823122' post='4822167']
i am using DX9 now. Can you link any tutorials in here??
[/quote]


Riemer's series on advanced terrain has a water effect. It's with XNA, but can be easily converted to DirectX9. It's a fun task to convert it too :)

[url="http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series4/The_water_technique.php"]http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series4/The_water_technique.php[/url]

Share this post


Link to post
Share on other sites
[quote name='gsamour' timestamp='1307831431' post='4822189']


Riemer's series on advanced terrain has a water effect. It's with XNA, but can be easily converted to DirectX9. It's a fun task to convert it too :)

[url="http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series4/The_water_technique.php"]http://www.riemers.n...r_technique.php[/url]
[/quote]


Reimers tut will get you on the right track. Most of it's done in the shader anyway but you might want to ask yourself what kind of water are you wanting to render. Reimers tut will worlk for rivers, streams and lakes but if your wanting ocean water then you'll need to find another resource. Here's a link to Nvidia's GPU gems water tut ([url="http://http.developer.nvidia.com/GPUGems/gpugems_ch01.html"]LINK[/url]). It's a bit dated but will give you an idea about the main concept used.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this