Itoo Software Forum
RailClone => RailClone Pro (*) => Topic started by: PIARENA on November 22, 2021, 10:05:01 AM
-
Can you tell me how to get a height gradient? I use the built-in macro, but it makes the gradient horizontal. Is it possible to get a solution to use a gradient without using a 2s array?
-
Hi,
Can you please share the scene file (if possible some lower Max version)?
I guess you did a simple L1S Generator.
You can edit the macro on the arithmetic node placed on the Output Values Based note.
Instead YSplinePosition you could use SubSplineCounter or XSplineCoords.# Depend on Spline orientation. Of course, you will have to adopt Transition Position/Range limits to match the values.
-
https://dropmefiles.net/ru/KHM4yNVZcE for max2018
-
Please if you can downgrade it to max2020.
-
fixed the link
-
ok.
In the meantime check this file.
The gradient is based on Z coordinates. So think of it as how much height in cm you want to affect.
-
Here is the file.
Just pay attention that Transition Position/Range are now scene units.
-
Thank you it works!