Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: Water animation/wave hight adjustable?  (Read 1997 times)

2eyed

  • Sr. Member
  • ****
  • Posts: 328
  • newbie
Water animation/wave hight adjustable?
« on: September 24, 2013, 03:33:35 pm »

I really like the way waves and surf animation is rendered with your engine.
Is it possible to alter wave height ?
What can be done to avoid the grid pattern or tiling when loooking from above?
In previous version the tiling seemed to be less noticeable.
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6591
  • Pegs is clever, but tae hain’t a touch sentimental
    • outerra.com
Re: Water animation/wave hight adjustable?
« Reply #1 on: September 24, 2013, 05:00:43 pm »

It's still WIP and the algorithms for the wave generation will change. However, there's a way to adjust the amplitudes (non-persistent way) by bringing up the script console (alt+c, if you have debug_keys=true in eng.cfg), and typing:
Code: [Select]
.bind m maprender
m.wave_amp(1.0);
m.surf_amp(1.0);

Those numbers are for open-sea waves and surf waves, respectively. It won't work with arbitrary numbers though, a usable range is between 0.0 and 1.0. There are some other internal limits that currently prevent it going higher without artifacts (or desynchronized simulation).
It won't help with the tiling much, although a lower wave amplitude may help some.
Logged

2eyed

  • Sr. Member
  • ****
  • Posts: 328
  • newbie
Re: Water animation/wave hight adjustable?
« Reply #2 on: September 25, 2013, 09:16:26 am »

Thanks, will try that!
Logged