UV remap on spline to specific length through texture nodes?

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
Tim_Twisted
Licensed Customer
Posts: 43
Joined: Mon Apr 23, 2018 1:31 pm

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 8 times
Current.jpg
Preferred.jpg
User avatar
bepeg4d
Octane Guru
Posts: 10384
Joined: Wed Jun 02, 2010 6:02 am
Location: Italy
Contact:

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
Tim_Twisted
Licensed Customer
Posts: 43
Joined: Mon Apr 23, 2018 1:31 pm

Thanks for the reply and confirming what I already suspected.
Post Reply

Return to “Maxon Cinema 4D”