hydrax an ripple effect

kaolite

12-06-2009 17:51:04

Hi,

I need to add ripple effects (like in the Water ogre demo) in hydrax... I need to interactively move a ripple when I move the mouse in the water (up view) ....
Is there any way to do that ? I begin using hydrax and I don't know where to start ..


Best regards,

Kao

Xavyiy

13-06-2009 14:26:15

Interative rippe effects are not yet implemented, anyway I've planned to add an extra-noise module layer with to add some ripple effects :)

kaolite

13-06-2009 16:50:40

Hi,

First, you have done an impressive job...

it's a great news if you plan to add this feature, but I need to do this effect very soon, do you know if there is any way to hack hydrax to add the ripple effect ?

Best regards,

laok

al2950

15-06-2009 09:34:20

I doubt very much Xavyiy will be able to do this in the immedaite future. He has said that he is going to work on SkyX on the immediate furture and is planning on releasing a new Hydrax version by september, and even then i am not sure he will have this feature in that version.

If you want some ripple effects i am afraid you are going to have to look at the Ogre demo and create something yourself. Or you could try and add this feature to Hydrax yourself :) . As Xavyiy said, to do this you will need to look at the noise modules, I know someone look at this with hydrax a few months back;

viewtopic.php?f=20&t=8556

Angus

kaolite

01-07-2009 19:32:33

Hi,

I am trying to add ripple effect to the noise module. It's ok to calculate the height according to x,y. But when do I need to call _calculateWavesAmount( in the perlin module?
Is it in _getHeigthDual (is u and v the x and y ? where is the origin ? ) I need to map mouse position to ripple effect.

Best regards,

kao