POV-Ray : Newsgroups : povray.binaries.images : SSLT naive question : Re: SSLT naive question Server Time
2 Nov 2024 08:24:37 EDT (-0400)
  Re: SSLT naive question  
From: Robert McGregor
Date: 19 Feb 2011 13:50:00
Message: <web.4d60100c1bd29a8394d713cc0@news.povray.org>
"Bruno Cabasson" <bru### [at] alcatelaleniaspacefr> wrote:
> The right slab is the same as the left, plus subsurface with 'classic' wax SSLT
> parameters. I am discovering SSLT, but what happened to the texture?
>
> Bruno

For some reason the current SSLT implemtation negates the pigment (if other than
a solid color). With layered textures you can work around this.

Try using a solid base pigment and SSLT finish in the lowest layer, and then
another texture on top of it, with the pigment's filter=1, and a standard normal
and finish, e.g.:

sphere { 0, 0.5
   translate -y*0.5
   texture {
      pigment { rgb 1 }
      finish {
         // potato
         subsurface { <0.68, 0.70, 0.55>, <0.0024, 0.0090, 0.12> }
      }
   }
   texture {
      pigment {
         bozo color_map {[0 srgb<1,0,0> filter 1][1 srgb<0,1,0>  filter 1] }
         scale 0.25

      }
      normal { agate 0.02 scale 0.125 }
      finish { specular 0.25 roughness 0.02 }
   }
   interior { ior 1.54  }
}



-------------------------------------------------
www.McGregorFineArt.com


Post a reply to this message

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