How can i control intensity of wave in Hydrax ?

compvis

29-06-2009 07:21:06

Hi,

How can i control intensity (increase or decrease the height..) of wave in Hydrax ?

Thanks

Xavyiy

29-06-2009 09:04:21

See: http://modclub.rigsofrods.com/xavi/05APIDoc/html/struct_hydrax_1_1_module_1_1_projected_grid_1_1_options.html

Strength is the param you're looking for.

compvis

29-06-2009 10:33:29

thanks, now i have:

Hydrax::Module::ProjectedGrid::Options myOpt;
myOpt.Complexity = 10000;
myOpt.Strength = 10000; (what is it's limit ?)
myOpt.ChoppyStrength = 10000;

myModule->setOptions(myOpt);

that's right ?

Thanks,

Xavyiy

30-06-2009 09:20:48

myOpt.ChoppyStrength = 10000; <--- NO! :) This value is the strength of the vertex displacement due to sea movement(in world coords), must be a little value, the same for myOpt.Strength, no more than 200(It depends of your world proportions(scale), but 10000 is too high).. and the complexity, must be about ~750(max values..), otherwise it'll crash due to 32bits buffers overflow.

I suggest you playing with these parameters in the Hydrax editor :)

Xavi

compvis

30-06-2009 09:24:41

yes, Xavyiy ! Hydrax editor is coming soon !

Thanks for Hydrax !

Xavyiy

30-06-2009 09:26:21

http://modclub.rigsofrods.com/xavi/Hydr ... r-v0.5.rar

compvis

30-06-2009 09:35:49

@Xavyiy:

In fact, i'm simulating a wave system that effects on a piston !

Thank you so much ! You have an Ocean wave system so wonderful ! :D

Thanks

P/s: I face a problem that Your hydrax system is not compatible with MyGUI system. My app always crash it them go together !

Xavyiy

30-06-2009 12:06:26

It must be compatible, check, post the ogre log.

P.D.: There're several apps using Hydrax/MyGUI :)

tdev

30-06-2009 12:16:17

@Xavyiy:

In fact, i'm simulating a wave system that effects on a piston !

P/s: I face a problem that Your hydrax system is not compatible with MyGUI system. My app always crash it them go together !


that sounds interesting with the piston, is it open source? ;)

myGUI and hydrax work perfectly together here.

compvis

01-07-2009 03:05:46

@Xaviyi: I'm trying to use the Hydrax, i'm still facing with some problems about wave .....

@tdev: this is a research but first of all, i have to verify the Hydrax. In game side, the Hydrax is so wonderful ! but i'm not sure i can use this tool in my research.