POV-Ray : Newsgroups : povray.binaries.images : Poser's dynamic hair in POV-Ray (WIP 1) : Re: Poser's dynamic hair in POV-Ray (WIP 4 without transparency) Server Time
2 Aug 2024 14:14:52 EDT (-0400)
  Re: Poser's dynamic hair in POV-Ray (WIP 4 without transparency)  
From: Thomas de Groot
Date: 26 Oct 2007 04:24:12
Message: <4721a42c@news.povray.org>
The figure without hair transparency map renders correctly as far as the 
backgropund is concerned. So what goes wrong with the transparency map?

This is the material code as generated by Poseray (comments added by me):

#declare p_map10=pigment {image_map{jpeg "C:\....\Janet_hair.jpg" 
interpolate 2 transmit all 0 filter all 0} }
#declare p_map11=pigment {image_map{jpeg "C:\....\Janet_trans.jpg" 
interpolate 2 }}

#declare Hair__opaque=
texture{ pigment{ p_map10} //this is the hair map
        finish{specular 0.5019608 roughness 0.00286312 ambient rgb <0,0,0> 
diffuse 0.8  reflection{0 metallic} conserve_energy}}

#declare Hair_=
material{
texture{  pigment_pattern{ p_map11} //this is the transparency map
texture_map{[0 pigment{Clear}]
            [1 Hair__opaque]
           }}
}


Somebody with a smart idea??? :-)

Thomas


Post a reply to this message


Attachments:
Download 'PoserFiguretest.png' (237 KB)

Preview of image 'PoserFiguretest.png'
PoserFiguretest.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.