Itoo Software Forum

Author Topic: REQUEST: random rotation  (Read 1859 times)

Peter Guthrie

  • Newbie
  • *
  • Posts: 25
REQUEST: random rotation
« on: March 06, 2013, 03:08:57 PM »
When using mapped rotation, eg, with a simple noise map. I would still like to have some amount of random rotation as well. I'm pretty sure this is possible in MS. Maybe it is something that could be added. I am trying with 2 layers of noise just now to get the same effect, but with limited success.

Thanks!

Peter Guthrie

  • Newbie
  • *
  • Posts: 25
Re: REQUEST: random rotation
« Reply #1 on: March 06, 2013, 03:11:49 PM »
maybe this is what probability is for? still struggling to understand how that works..

Peter Guthrie

  • Newbie
  • *
  • Posts: 25
Re: REQUEST: random rotation
« Reply #2 on: March 06, 2013, 03:36:48 PM »
ah ok, I understand what the probability does now, but its not what I'm looking for.

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3156
    • iToo Software
Re: REQUEST: random rotation
« Reply #3 on: March 06, 2013, 04:43:53 PM »
The map defines the absolute value of rotation for each item (black=min, white=max), so i think it could be done adding two maps in a Composite texture, one of them of type random (as Noise).

I'm out of the office now, but i could make a test scene later.
Carlos Quintero
iToo Software

Peter Guthrie

  • Newbie
  • *
  • Posts: 25
Re: REQUEST: random rotation
« Reply #4 on: March 06, 2013, 04:54:28 PM »
Hi Carlos, yeah that's what I tried. Would be great if you could have a go and see if you have more success than me :)

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 3156
    • iToo Software
Re: REQUEST: random rotation
« Reply #5 on: March 06, 2013, 09:23:39 PM »

Please, see the attached scene: it uses a swirl and a noise map, added in a Composite texture. The swirl defines the main rotation value, and the noise provides the random component. To modify the amount of randomness, just change the "Opacity" parameter in the noise layer.

I hope that helps. There are multiple combinations, changing the noise parameters, the type of operation between layers, etc.

Carlos Quintero
iToo Software

Peter Guthrie

  • Newbie
  • *
  • Posts: 25
Re: REQUEST: random rotation
« Reply #6 on: March 18, 2013, 12:21:56 PM »
thanks for that Carlos, it definitely helped.