History: Hydrax
Source of version: 10
Copy to clipboard
{img src="img/wiki_up/Hydrax.jpg" alt="Hydrax.jpg" imalign="right"}
__Author__: Xavier '((User:Xavyiy|Xavyiy))' Verguín González
__Project__: OGRE Add-on Library (water)
__Version__: 0.5.1
__Supported Platforms__: Windows, Linux, Mac
__Supported Ogre Releases__: 1.4, 1.6
__Documentation__: [http://modclub.rigsofrods.com/xavi/05APIDoc/html/|API Documentation(0.5 for the moment, 0.5.1 included in the sources .rar package)], Demo application source code and forum support
__License__: [http://www.gnu.org/copyleft/lesser.html|GNU Lesser General Public License] (free for any use)
__Status and bug reports__: [http://www.ogre3d.org/addonforums/viewforum.php?f=20|Hydrax forum]
---
{maketoc}
!!Introduction
Hydrax is an add-on for Ogre which aim is to provide an easy-use library in order to __render pretty water scenes__.
It's fully configurable, all effect, such as water depth effects, smooth transitions, foam effects, caustics, underwater god rays, ... can be modified in real-time as well as all options that do not depend of shaders such as Rtt's texture quality, hydrax geometry and noise modules options, you can change between different modules(geometry and noise) on-fly, etc... Hydrax has a modulable interface wich allows any kind of water geometry, actually there're three modules availables: The infinite ocean module, based on the projected grid concept, the simple grid module and the radial grid module; of course, hydrax geometry modules and noise modules can be coded by users.
!!Videos
{YOUTUBE(movie="http://www.youtube.com/watch?v=FL02s_MGIQc",width="640",height="420",allowFullScreen="y")}{YOUTUBE}
!!Screenshots
{img src="img/wiki_up/Hydrax_screenshot.png" alt="Hydrax_screenshot.png"}
{img src="img/wiki_up/Hydrax_04_5_.png" alt="Hydrax_04_5_.png"}
{img src="img/wiki_up/Hydrax_04_2.png" alt="Hydrax_04_2.png"}
{img src="img/wiki_up/Hydrax_04_1_.png" alt="Hydrax_04_1_.png"}
Underwater rendering: (With underwater reflections and sun god rays!)
{img src="img/wiki_up/Hydrax_04_3_.png" alt="Hydrax_04_3_.png"}
{img src="img/wiki_up/Hydrax_04_4_.png" alt="Hydrax_04_4_.png"}
__Videos__
* [http://www.youtube.com/watch?v=FL02s_MGIQc|Hydrax-SkyX demo video]
* [http://modclub.rigsofrods.com/xavi/FFTNoisePics/FFTNewSamples.wmv|FFT noise video]
* [http://vimeo.com/1435457|0.4 HD preview]
* [http://modclub.rigsofrods.com/xavi/HydraxEditor%202008-10-09%2019-23-26-12.mp4|0.4 preview2 (mp4, 30Mb) ]
* [http://www.youtube.com/watch?v=Tll6Bi2XblU|Hydrax v0.2 preview]
* [http://www.youtube.com/watch?v=SvddAMjURKg|Hydrax v0.2 preview 2]
!!Main features
* Realistic fresnel refraction and reflection effects
* Intelligent depth effects based on depth maps
* Smooth transitions effects: Smooth transitions with all objects in the scene using the depth map
* Caustics effects
* Sunlight effects (Colour, Position, Sun strength, area, etc...)
* Full underwater effects like underwater reflections, god rays...
* Foam effects
* Water editor
* Vertex and GPU Normals generation
* Decals support (to place any kind of texture on the water, like ship trails, water vegetables, etc)
* Modulable interface (Geometry and noise modules)
* HLSL and CG support (and GLSL in future versions)
__Geometry modules:__
* Projected grid
* Simple grid
* Radial grid
__Noise modules:__
* Perlin
* FFT
{DIV(class="Layout_box13")}{img src="img/wiki_up/Forum icon question2.gif" alt="Forum_icon_question2.gif"} For __more information__ go to __[http://www.ogre3d.org/addonforums/viewforum.php?f=20|the Hydrax forum]__.{DIV}
!!Downloads
* [http://modclub.rigsofrods.com/xavi/Hydrax-v0.5.1_Demo1.rar|Precompiled demo] (version 0.5.1)%%%While running the demo __press 'M'__ to switch water presets!
* [http://modclub.rigsofrods.com/xavi/Hydrax-v0.5.1.rar|Hydrax/Demo sources and media files] (version 0.5.1)%%%(Code::Blocks and VC++ 2005 project files included)
* [http://modclub.rigsofrods.com/xavi/Hydrax-Editor-v0.5.1.rar|Hydrax editor] (with sources, version 0.5.1)%%%Hydrax config files are saved in ''bin/release/saved''
* [http://modclub.rigsofrods.com/xavi/hydrax-v0.3-linux.tar.bz2|Linux package] (old version 0.3)%%%Note: view Readme_Linux.txt
* [http://modclub.rigsofrods.com/xavi/|Mirror] of all published Hydrax files
!!Roadmap
Version 0.6:
Library:
* Improve underwater rendering. Update underwater depth calculations based on the distance, like the Crysis (Crytek) approach.
* Improve Perlin and FFT normal map generator shaders
* GLSL shaders
* Multi-camera rendering support
* Ogre 1.7.X native support
Editor:
* Port RBGui to Ogre 1.7.X
* Port the editor to Ogre 1.7.X
Demo:
Examples:
* Advanced example: using custom textures for depth calculations (0.5 version feature)
* Advanced example: creating ship trails (decals).
Tutorials:
* Creating custom geometry and noise modules
!!See also
* [http://www.ogre3d.org/addonforums/viewforum.php?f=20|Hydrax forum] - News, details, questions, bug reports
* ((Managed Hydrax Wrapper)) - For use with ((MOGRE|Mogre))
* ((EGO Game Editor)) - Has support for Hydrax