Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

galek/HydraX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HydraX

A water rendering library for Ogre3D. NOTE: If you are looking for the Push Button engine port, please go here: https://github.com/dionjwa/Hydrax

Latest stable version: 0.5.1

Pre-compiled demo (Windows): https://github.com/downloads/ferretallica/HydraX/Hydrax-v0.5.1_Demo1%5B1%5D.rar

Introduction

Hydrax is an add-on for Ogre which aim is to provide an easy-use library in order to render pretty water scenes.

One of the primary design goals is to be fully configurable. All effects - such as depth-based distortions, smooth transitions, foam, caustics and underwater god rays - can be modified in real-time.

Real-time configuration also extends to things such as RTT's texture quality and HydraX's geometry and noise modules options. You can change between different modules (eg: geometry and noise) on-fly.

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)

Hydrax has a modular interface wich allows any kind of water geometry. At present there are three geometry and two noise modules available as follows:

  • simple grid geometry

  • radial grid geometry

  • infinite ocean geometry (based on the projected grid concept)

  • perlin noise

  • FFT noise

Credits

The original creator of HydraX is xaviyiy, AKA Xavier Verguín González (xavyiy@gmail.com).

The project appears to be abandoned by xaviyiy as of 14th Deceomber 2010. For support, it is recommended to refer to the HydraX section of the Ogre3D forum (see "Links" below).

The code from the last official stable release has been moved to GitHub so that the many fixes proposed on the forums can be centrally managed and distributed to ongoing HydraX users.

TODO:

0.5.x:

  • finish collating and merging community patches since 0.5 official release
  • bug fixes
  • bring Linux support up to date

0.6:

  • Native Ogre3D 1.8.1 support

0.7:

  • 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

Examples / tutorials:

  • using custom textures for depth calculations (0.5 version feature)
  • creating ship trails (decals)
  • creating custom geometry and noise modules

Links

xavyiy's file store: http://modclub.rigsofrods.com/xavi/

Ogre3D HydraX forum: http://www.ogre3d.org/addonforums/viewforum.php?f=20

Screenshots

http://www.ogre3d.org/tikiwiki/img/wiki_up/Hydrax_04_5_.png

http://www.ogre3d.org/tikiwiki/img/wiki_up/Hydrax_04_2.png

http://www.ogre3d.org/tikiwiki/img/wiki_up/Hydrax_04_1_.png

http://www.ogre3d.org/tikiwiki/img/wiki_up/Hydrax_04_3_.png

http://www.ogre3d.org/tikiwiki/img/wiki_up/Hydrax_04_4_.png

Videos

HydraX with SkyX: http://www.youtube.com/watch?v=FL02s_MGIQc

About

A water modeling and rendering library for Ogre3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published