PDA

View Full Version : Simple material question


Xsub
02-20-2006, 11:47 AM
Hello, i am trying to texture a standard electric wire with procedural texturing.

I'm trying to make small contionouse indents in the wire, but the way im texturing it, it's not working properly.

Below is an image of what i'm getting, and below that image is a mock-up i've made in paint to what i want.

I hope this helps. Thanks!

hightillidie
02-20-2006, 11:59 AM
Have you tryed alpha? it works out miracles.

Make sure its black and white and has what you want in mind. Then play around with the texture [tag] settings.

Xsub
02-20-2006, 12:11 PM
Have you tryed alpha? it works out miracles.

Make sure its black and white and has what you want in mind. Then play around with the texture [tag] settings.
sorry, i didn't explain properly.. here, see this example.

vid2k2
02-20-2006, 12:19 PM
I'd make the "grooves" geometry.
Draw your cross section and use (quickpipe) sweep.
Done.

martinweber
02-20-2006, 12:36 PM
If you created your wire with a sweep nurbs then use an uv-map projection and adjust the tiles x,y parameters accordingly.

HTH,
Martin

Xsub
02-20-2006, 12:53 PM
I'd make the "grooves" geometry.
Draw your cross section and use (quickpipe) sweep.
Done.
eaw, no way... I prefer dealing with textures than geometry, it would take a LOT of cpu power if i made every groove a polygon indent.

If you created your wire with a sweep nurbs then use an uv-map projection and adjust the tiles x,y parameters accordingly.

HTH,
Martin

Wow, that done it, thanks a lot man.

Primitiv
02-20-2006, 11:28 PM
If I understand your problem, the best would be to use a flower spline and extrude it along a path. You could also extrude it straight on and use deformers to curve the wire.

WildFire``
02-21-2006, 02:01 AM
It seems to be easier than you think, as he suggest with a flower spline, i assume he meant put it in a boole..I'm not sure if he meant this but it might be possible to simply set the flower spline to enough..points and simply use that.

nycL45
02-21-2006, 11:04 AM
If you created your wire with a sweep nurbs then use an uv-map projection and adjust the tiles x,y parameters accordingly.

HTH,
Martin

I would have used the geometry/flower spline, too. Interested in yours. Specify the uv map, please.

erlik
02-21-2006, 02:24 PM
I don't understand where the problem is. This is a simple circle swept over a spline. Basic wood 009 used as texture with the same basic0038.jpg as displacement. UVW mapping.

So

1) check your mapping.

2) Possibly increase your antialiasing.

That moire pattern is often due to antialiasing lower than needed.

martinweber
02-21-2006, 06:02 PM
I would have used the geometry/flower spline, too. Interested in yours. Specify the uv map, please.

I thought the problem was that the lines in the texture did not follow the wire. As the sweep nurbs creates a uvw tag with a valid uvw space the easiest solution was to use uvw mapping in the material tag to align the texture to the spline.

If you need some groves then sure, use a flower or similar shape to sweep along the spline instead of a plain circle. Otherwise a displacement map will do the same.

CGTalk Moderation
02-21-2006, 06:02 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.