POV-Ray : Newsgroups : povray.binaries.images : SSLT Dragon : Re: SSLT Dragon Server Time
31 Jul 2024 02:27:01 EDT (-0400)
  Re: SSLT Dragon  
From: clipka
Date: 7 Mar 2011 03:36:26
Message: <4d74990a$1@news.povray.org>
Am 06.03.2011 21:32, schrieb Alain:

> There is no real need to use layered textures.
>
> You can apply a pattern to SSLT. You just need to use a texture_map. The
> pigment don't realy mather.
>
> box{-1 1 texture {agate texture_map{
> [0 finish{subsurface{<25, 24, 22>, <0.007, 0.008, 0.009> }]
> [1 finish{subsurface{<0.8, 0.3, 0.01>,<0.0021, 0.0025, 0.00946> } ]
> }
> scale 0.4
> }
> interior{ior 1.43}
> }
>
> This gives an agate pattern that closely match the pigment.

Be aware that this is even slower than layered textures, as POV-Ray will 
compute the subsurface effect twice - once for the 0 value, and once for 
the 1 value - to compute a weighted average of those two textures.


Post a reply to this message

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