Itoo Software Forum

Author Topic: Trying out effects  (Read 1181 times)

OB

  • Newbie
  • *
  • Posts: 38
Trying out effects
« on: July 06, 2016, 04:08:21 PM »
Hello !
So i've started to play with effects in forestpack and i need to do the following simple thing : there is a ground and FP objects scattered on it. Also there is an object above the ground , so what i want to achieve is that all FP objects under that object will have specified height scale multiplier with adjustable zone of transition (faloff) from the edge of the object above.
So basically this is what i need to do :
I've tried to do that by my own - you can check the attachment , but for some reason it does not work (too bad there is no anything like debugging - idea for next version ?)
Thanks !

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Trying out effects
« Reply #1 on: July 07, 2016, 11:04:00 AM »
Hi,

There are several possibilities how to archive it. In attached effect I've measured the distance from the object to each item and then with help of the easyOut function interpolated the falloff between original and "overridden" scale values. Let me mention, that's not taking in account the shape of used object (not sure if that's something desired).

There's also the usual way by using two Forest objects. You can use your object as an Object Exclude Area, adjust the Area - Scale Falloff, then make a copy of such Forest object, disable the Object Exclude Area and use the first Forest object as an Forest Exclude Area (to fill the space under the object).

Also, in case of using the V-Ray renderer, a possible workaround would be by using the VRayDistanceTex map to drive the Transform - Scale Map.

Hope you'll find it useful.

Best regards,

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 4388
    • iToo Software
Re: Trying out effects
« Reply #2 on: July 07, 2016, 12:22:55 PM »
I've tried to do that by my own - you can check the attachment , but for some reason it does not work (too bad there is no anything like debugging - idea for next version ?)

Just a quick note: actually your can use the "print" statement to show variable values. It's very useful fo debugging.
Also note that since the Effect is applied separately to each Forest item, the Effects editor (including "print") uses just the first item of the distribution.
Carlos Quintero
iToo Software

OB

  • Newbie
  • *
  • Posts: 38
Re: Trying out effects
« Reply #3 on: July 07, 2016, 01:20:56 PM »
Thanks for your reply.
I thought about distance map , but i thought to try out effects.
I will try your solution , thanks for help !