2
$\begingroup$

I want to create a gradient that spirals along with the helical structure like in the figure attached. However I cannot seem to get the gradient curving the right way. I have tried turning several knobs to no avail as shown in the screenshot. Any assistance will be appreciated.

Reference image

[1]: https://i.stack.imgur.com/M1G0s.png

$\endgroup$

2 Answers 2

4
$\begingroup$

If you want to use object coordinates (and considering the object origin is at the center), you can't do it with a mapping alone as it will not allow to start at the inner radius of the helicoid in all directions.

Instead you can:

Keep only X and Z as the helicoid is along Y.

Get the length, which goes from the inner radius to the outer radius.

Remap the length from min (the inner radius) and from max (the outer radius) to 0 and 1.

enter image description here


If you've made the shape with a screw modifier, use UV stretch:

enter image description here

And keep only the Y value from the UV coordinates:

enter image description here

$\endgroup$
1
  • $\begingroup$ Thank you very much for the solid advice. This does the trick magnificently $\endgroup$ Feb 22 at 12:06
3
$\begingroup$

You can use the UV of the object: make one orthogonal face of your spiral object active (or in the UV Editor make one face orthogonal and make it active) and Unwrap > Follow Active Quads:

enter image description here

In the Texture Coordinate node choose the UV output, in the Mapping node tweak the Location and Rotation values, plug it into a Texture > Gradient node:

enter image description here

$\endgroup$
1
  • $\begingroup$ That is an cool way of looking doing this. Also add the mesh lines like the original image. Thanks a ton! $\endgroup$ Feb 22 at 12:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .