Itoo Software Forum

Author Topic: 1x UVW tile along length of array - possible?  (Read 327 times)

Rio

  • Jr. Member
  • **
  • Posts: 80
1x UVW tile along length of array - possible?
« 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/

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


Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2480
Re: 1x UVW tile along length of array - possible?
« Reply #1 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,