Page 1 of 1

UV remap on spline to specific length through texture nodes?

Posted: Tue Aug 26, 2025 1:51 pm
by Tim_Twisted
Hi,

I'm looking for a solution regarding mapping UV size on splines. Currently UV's are scaled to the full length of the spline. I'm looking for a solution to set a specific length/value inside the Octane material so the UV will map to a specific length before it tiles, regardless of the length of the spline itself. Ideally this would be completely done in the material itself, without the need for Xpresso links or external transformations which have to be manually assigned/linked.

I've illustrated the current situation below, and the preferred result. This is done by tiling the material to 0.5, since the spline is exactly half as long but this doesn't work when I have a lot of splines at different lengths.

Cinema file attached:
Spline_Length_UV.zip
(95.6 KiB) Downloaded 9 times
Current.jpg
Preferred.jpg

Re: UV remap on spline to specific length through texture nodes?

Posted: Wed Aug 27, 2025 8:48 am
by bepeg4d
Hi,

Sorry, but I cannot see a way of doing this in c4doctane, we cannot interact with geometry properties inside octane materials.
Since you need to change the Length Y value in C4D Material tag, I think you need Xpresso or a Python script.

ciao,
Beppe

Re: UV remap on spline to specific length through texture nodes?

Posted: Mon Sep 01, 2025 7:57 am
by Tim_Twisted
Thanks for the reply and confirming what I already suspected.