Smooth Texture on Curved Surface
-
I want to create a curved surface, extruded from an arc, and then apply a surface material to it.
Problem is that the curved part is treated as many separated sections, each getting a copy of the same part of the texture.
Is there a way around this problem?
I am doing all of this in Ruby, ie create an edge, then do a follow me along that edge using an upright rectangle. I can apply material to the resulting extruded shape, but the many sections create a bit of an unnatural look.
If anybody knows how to do this normally, ie not ruby, I can probably repeat that inside the ruby.
-
you need to make the original texture into a "projected" texture. right click on one of the segments or the original texture in the model and from the context menu choose "texture" and from within the texture sub-menu click on "projected". Then you can resample the texture and it will wrap.
-
What exactly do you mean with resample the texture and it will wrap.
It seems to do something, but not entirely.
Attached the document, using a texture from SU itself.
I draw, unhide geometry, select a segment, set projected. Hide geometry again.
From the left it looks like the texture is "projected" but from about the middle it seems repeating again.
-
When you are in Paint bucket mode, press Alt to turn it into an Eyedropper (paint sampler) tool. You can then click on the already projected facet and when hidden geometry is turned off, you can then release the Alt key and paint the material onto the whole surface.
The problem with this material and this shape however is that when it gets to the middle of the shape, it distorts very much.
You can however do this:
- Turn on hidden geometry
- Right click on a facet > choose Texture
- Make sure Projected is unchecked and choose Position
- The pins will appear - do nothing just right click > Done (or hit Enter)
- Now sample that facet with the Alt Paintbucket (=Eyedropper) tool and turn off hidden geometry
- Apply the material on the whole surface.
This should make the material seamlessly tiled.
-
This is a tileable texture and it doesn't have to be "projected" on a smoothed surface.
Do NOT use projected. However there is something wrong with the tiling in a single spot even after doing what Gaius suggest. It doesn't meet.
I turned on hiddent geomerty, sampled the texture on the segment where it does work exactly next to the segment where it doesn't work and then painted the one that wasn't working and did the same with all of the following segments sampling again each time. Then the thing tiles properly.
But that is awfully complex. You Shouldn't have to do that.
I replicated the shape using the arc tool to create the semi circles and push pulled.
I had no problem whatsoever applying the tileable texture.
There is some sort of problem with the original form. I see from the segmentation that the arc is exploded. I think it is behaving strangely because the edges of the arc are not welded together.
-
Thanks for the info.
I can now recreate what you have done. I just draw a curve, and close it, no welding, the arc stays an arc. I then use extrude to create the surface and afterwards the texture works fine.
What I was actually doing to create the extruded shape was rather different, and it might have something to do with it.
I create an arc just as a guideline for a follow me. Then I create an Upright Rectangle, and follow it along the arc. The reason for this was of how my Ruby script work. I have to create a lot of components that follows basically the same curve, ie curved panels, with mouldings, etc. It seems that in that case, the resulting follow me creates the "segments" somewhat differently, and hence the texture problem. This might mean some rethink on my approach.
Advertisement