Redshift UV Texturing question
-
I am trying to model a mulitcoloured ribbon cable but i'm finding i cannot get the texture to apply itself how i thought it should.
ribbon cable_v2.c4dI tried all the different mapping types but cannot get the effect i need. The colours should be visible on both sides of the model as each rib is supposed to be a different wire.
I created the texture using a Ramp node and multiple colours on the gradient, all spaced to be in the correct position when applied to the cross section.
I cannot get the colours to pass through from one side to the other. I could not apply the colour to the cross section spline and have it extrude along the length of the model.
I even tried to half the width of the texture (U) to 50% then tile it in the hope it would wrap around to the reverse side, but all it seems to do is extend the very last colour across the back. I know this would still be inaccurate because the front and rear of the model would be different colours, but at least there would be different colours!!
I also tried this on a simple extrude model and the results were the same.
How can i add a texture that will be applied along the length of and extrusion/sweep?
thanks in advance
Adam -
Hi Adam,
Please have a look here:
CV4_2025_drs_24_RSrc_01.c4d
I duplicated the Ramp-colors, inverted the new "half" and sorted things, which is some work.This file uses a copy of the Ramp, invert one of it (Right Mouse Click [RMC]on the "Gradient), then double both Ramps again [RMC]
Example
CV4_2025_drs_24_RSrc_11.c4d
The Projection settings are back to default (100%, etc)All the best
-
Perfect!! Thanks Dr Sassi.
I wish i had known about the reverse sequencing options on the gradient. Problem i had is when i tried to keep adding colours to my gradient, C4d kept on freezing so i was reluctant to keep on experimenting.
One thing i'm puzzled by - on your second example where the black and white ramp is used as a mask....how does the mask cause the Colour layer to be twice as wide as the two ramps feeding into it? I always find masks tend to hide/reveal one layer over another but don't cause the result to be placed side by side.
-
Hi Adam,
Thanks for sharing your experience with the freeze. I will have a closer look then, as I experienced something similar, but I had some huge files open in several apps and blamed this for the weirdness.
As a 50/50 stripe, the black and white separates the two "color" Ramp nodes. I used your gradient setting and copied it first to have two nodes. Then, reverse one and double the gradient in both. Since there is no mirror in the gradient, the target with the mask was to get from each one half, so the back and front of that flat cable got matching colors.
My best wishes for your project
-
thanks for the explanation...i can see the reasoning behind it now.. All makes sense to me!!
-
Thank you very much, Adam, for your reply.
Cheers