|
 |
Thanks for your help! I wrote a pov with this code
#declare HairTex = texture {
pigment_pattern {image_map {jpeg "Hair-Opa.jpg" interpolate 2}}
texture_map {
[0 pigment {rgbt <0,0,0,1>}]
[1 pigment {image_map {jpeg "Hair.jpg" interpolate 2 }}]
}
}
#declare strands =
intersection {
sphere { <0, 0, 0> 1 }
sphere { <0, 0, 0> .99 inverse}
box{ <-1.5, 0, 1.5> < 1.5, 1.5, -1.5> rotate x*-10}
box{ <-1.5, 0, 1.5> < 1.5, -1.5, -1.5> rotate x*10}
plane{x, 0}
rotate z*90
//scale .5
}
object {strands texture{HairTex} scale 2 translate y*2 }
and it looked like this
http://www.fmi.uni-passau.de/~capco/temp.jpg
(I didn't render it with anti-alias and good resolution, but it looks fine)
I didn't get to make it a little more shinier (I guess that's where the
specularity map comes to play.. ). I don't exactly know how this is done, I
can't call a "finish" in the texture if I already have a texture_map. Any
advises? Thanks again. The hair is perfect for the character I am about to
finish I just have to produce copy of the strands around the scalp and I
have a nice hair and I can even make styles out of it.
Sincerely,
Jose Capco
Post a reply to this message
|
 |