POV-Ray : Newsgroups : povray.newusers : slope and texture_map peachfuzz Server Time
1 Nov 2024 10:18:39 EDT (-0400)
  slope and texture_map peachfuzz (Message 1 to 2 of 2)  
From: Mr
Subject: slope and texture_map peachfuzz
Date: 7 Aug 2009 06:20:00
Message: <web.4a7bfe0a94d4556f365d2bd60@news.povray.org>
I am trying to do a "fake peach fuzz" type of specularity for a skin shader.
That is it's shinier where light hits the surface at a glancing angle
here is what I tried but it doesn't render, console pointed at the slope
indentation/brackets syntax but I may have corrected it already (I haven't
totally found my way around the message tab yet) does anybody or everybody see
the problem with the following code (except non critical values that are still
random place holders)?


texture {
 pigment {color rgbt <0.95, 0.5, 0.95, 0.1>}
  slope{<0,0,1>}
   texture_map {
    [0 pigment {color rgb <1.00,1.00,1.00>}
     finish{
     phong 0.25
     phong_size 3
     }
    ]
    [1 pigment {color rgb <1.00,1.00,1.00>}
     finish{
     phong 0.25
     phong_size 100
     }
    ]
   }
}


I am using the 3.7 beta so maybe the AOI pattern is better suited to that kind
of stuff? What's the difference with a slope? I'm mostly after the fastest
approach.


Post a reply to this message

From: Mr
Subject: Re: slope and texture_map peachfuzz
Date: 7 Aug 2009 07:05:00
Message: <web.4a7c09b63ea44b03365d2bd60@news.povray.org>
Sorry, I solved it by removing the pigment on top:
texture {
 slope{<0,0,1>}
  texture_map {
   [0 pigment {color rgb <1.00,1.00,1.00>}
    finish{
    phong 0.25
    phong_size 3
    }
   ]
   [1 pigment {color rgb <1.00,1.00,1.00>}
    finish{
    phong 0.25
    phong_size 100
    }
   ]
  }
}

This does excatly what I needed.


Post a reply to this message

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