Itoo Software Forum

Author Topic: wind grass sine wave  (Read 179 times)

in3des

  • Jr. Member
  • **
  • Posts: 97
wind grass sine wave
« on: February 24, 2020, 09:21:38 AM »
Hi,
I'm trying to get wind effect on the grass.
Getting some issues when following this topic https://forum.itoosoft.com/forest-pro-(*)/how-does-rotation-by-texture-really-works

I can see results from RED color and GREEN.
But it looks like BLUE color has no effect. (((

« Last Edit: February 24, 2020, 09:28:01 AM by in3des »

in3des

  • Jr. Member
  • **
  • Posts: 97
Re: wind grass sine wave
« Reply #1 on: February 24, 2020, 09:26:34 AM »
I could get some result with green color - but need same with blue
my grass instance is already bent and I need to rotate it along Z axes only

ideally I need
Z - sine wave +-some variation
XY - some variation

in3des

  • Jr. Member
  • **
  • Posts: 97
Re: wind grass sine wave
« Reply #2 on: February 24, 2020, 10:05:16 AM »
Not sure if that possible - would be great to have direction control by spline/splines.
So you could just draw a spline and forest would arrange its objects along that spline.

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2591
    • iToo
Re: wind grass sine wave
« Reply #3 on: February 24, 2020, 10:22:29 AM »
Are You after this effect:


Rokas
iToo Software

in3des

  • Jr. Member
  • **
  • Posts: 97
Re: wind grass sine wave
« Reply #4 on: February 24, 2020, 10:41:01 AM »
Hi Rokas,
Thanks for reply!
I just found out - the issue was I didn't check the box to use "map" on Z axys )))
now everything looks fine! :)

in3des

  • Jr. Member
  • **
  • Posts: 97
Re: wind grass sine wave
« Reply #5 on: February 24, 2020, 10:44:52 AM »
Any advice how to add random variation on top of rotation set by map?
so it follows sine wave +-5 degrees on Z (kind of noise)

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2591
    • iToo
Re: wind grass sine wave
« Reply #6 on: February 24, 2020, 10:54:56 AM »
Under color, there is noise parameters, that can be used for that:


Or You can use additional effect (attached):
« Last Edit: February 24, 2020, 12:09:31 PM by Rokas »
Rokas
iToo Software

in3des

  • Jr. Member
  • **
  • Posts: 97
Re: wind grass sine wave
« Reply #7 on: February 24, 2020, 12:17:42 PM »
Cool!
Thanks a lot for help! :)