Page 1 of 1

Toothbrush bristles

Posted: Wed Jul 23, 2008 4:07 pm
by scaryfairy2001
Hi


Would be great if anyone could give me some advice on this.... ive found a bristle materials on the Maxwell site (link below) which ive modified to suit my toothbrush bristle pattern but i cannot get the material to map correctly to the bristles.

Could anyone tell me what sort of shape this material would be placed on to get a bristle effect?

Material link from Maxwell site below

http://mxmgallery.maxwellrender.com/sea ... arch=brush

cheers

Sarah

Posted: Wed Jul 23, 2008 5:08 pm
by Mihai
It's a material with displacement, you can map it on any geometry you want but in this case a flat polygon plane would do, just subdivide it a bit so you don't have to use too high precision in the displacement - faster render times. What does your geometry look like?

Posted: Wed Jul 23, 2008 5:21 pm
by scaryfairy2001
Thankyou,

Ill give it a go, at the moment i have each cluster of bristles modelled as a cylinder- ill try a plane in place of these and see what i get


:)

Sarah

Posted: Fri Jul 25, 2008 1:59 am
by Bubbaloo
I think he meant a plane for the object itself. No bristles need to be modelled. It's a displacement map.

Posted: Fri Jul 25, 2008 10:55 am
by abed-sabeh
I think you have got the right idea. Like what Bubbaloo said, it's a displacement map.

Posted: Mon Jul 28, 2008 1:47 pm
by scaryfairy2001
i rendered a plane and as far as i can see so far its working- ill post some bristle samples if i get some done

:)

Displacement in 1 direction only

Posted: Fri Aug 01, 2008 12:57 pm
by scaryfairy2001
-
Can anyone help i have a new problem - when i displace the bristles off a plane the bristles displace from bothsides so i have the bristles on the correct front face of the toothbrush but they are also coming the same distance out of the back of the head

Im not sure what im doing wrong.....


:)

Posted: Fri Aug 01, 2008 2:04 pm
by Hervé
.. in the displacement tab.. set offset to 0... :wink:

Posted: Fri Aug 01, 2008 2:24 pm
by Fernando Tella
Either is what Hervé says or the mapping was originally applied to some kind of volume with uvw unwrapped so the bristles only where located at the front side.

Could you show us an image of what's happening?

Posted: Fri Aug 01, 2008 2:51 pm
by Mihai
Are you sure it's a single sided plane? If it's double sided you're going to get the same displacement map on both sides, so you get displacement in both directions.

Posted: Fri Aug 01, 2008 3:37 pm
by scaryfairy2001
thanks for this advice im just trying a few things
offset was already on 0 so i dnt think that effected it but its possible its mapping to both sides of the plane which im trying to correct

-ill try post some images of whats happening when i get some

Posted: Fri Aug 01, 2008 3:51 pm
by Fernando Tella
Maybe its meant to be cylindrically mapped onto a smoothed tubular shape (well, with the shape of the hard part of a tooth brush).

The outcome so far

Posted: Thu Aug 07, 2008 2:03 pm
by scaryfairy2001
Thanks for all the advice, ive managed to get some bristles rendered-its in progress im hoping to get some clearer views to show more detail

Image