Curve mapping

Hello, i need to texture a string made of a curve, but i have mapping issue.


I tried many settings but had no good result.
Is there a way to map it good without convert the curve into a mesh ?
I want to keep procedural texture too.

Try using UVs for Texture Coordinates

1 Like

I tried but i got this

Applying scale did nothing.

I think i got it, i started from a edge mesh then converted it into a curve, extruded it, etc.
I should start from a curve directly ?

That’s not true.
Converting to a curve produces UV of the curve.

Is the object curved? Isn’t it a polygon.
If you attach the object file, I’ll check it out. :thinking:

I just redid the experience :
. Add a plane, erase everything exept one edge. Subdivise it, make a corner and beveled it with Ctrl+B
. Convert to a curve, extrude one point.
. Apply the material
Same result, bad mapping in every mode. I didn’t check if the uv map option was enabled. I’ll check next time.

Starting from a curve directly : gives regular mapping. I’d say almost as it depends on density of curve points.

Let me check that uv map option.

When you convert mesh to a curve you don’t have the “make UV” option.

May be it is because i use a Wave texture, and its coordinate is only on X axis ?
Would sound logical to me. I’m not an expert.

I will unwrap the mesh, it gives perfect result, but keeping curves is versatile too, and can ease animation, if ever.

That’s right.
The UV of the curve changes according to the Vertex interval.

To solve this, you need to use UV after converting to Polygom.
You can use TexTools or other Addons to make UV straight.

From what i understand :
Converting mesh to a curve produce a type of curve, without handles.
If you select all in edit mode then right clic you can change the curve to a Bezier type, with handles.
And now, the UV input coordinates works perfectly.
UV coordinates works with beziers curves but not with the curve type produced by converting a mesh to a curve.
Hope all is clear.

EDIT : it’s not perfect too after converting to bezier type. The best is uv mapped mesh.
I think the wave texture is for something too. Only one coordinate. So when the direction of curve change, the mapping is no more accurate. I can’t tell.

The curve is an old feature, and it hasn’t changed much with the increased version.
Instead, several features were added to the geometry node.

I might be able to solve it using a geometry node.
But I don’t know much about geometry nodes.