Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: Rio on February 23, 2023, 10:46:39 AM

Title: 1x UVW tile along length of array - possible?
Post by: Rio on February 23, 2023, 10:46:39 AM
Maybe this is what the OP in the thread below is talking about - I know how to do world-space mapping along the length of an array, what I'm after is 1 UVW tile along the length of the array, a bit like when mapping is used on a sweep (non-WSM). Ultimatelu what I'm after is to run a gradient along the length of each base object sub-spline.

https://forum.itoosoft.com/railclone-pro-(*)/apply-one-uvw-mapping-for-whole-railclone-object/ (https://forum.itoosoft.com/railclone-pro-(*)/apply-one-uvw-mapping-for-whole-railclone-object/)

Is it possible? The best I could come up with was the below, but that doesn't seem to work.

Title: Re: 1x UVW tile along length of array - possible?
Post by: Michal KarmazĂ­n on February 24, 2023, 12:00:57 PM
Hi,

Driving the U Fixed Tile parameter of the UVW XForm Operator by the following expression:

return (Input1/XsectionLength);

where the Input1 is the exported X Size attribute should do the trick for this simple set-up.

Best regards,