POV-Ray : Newsgroups : povray.binaries.images : SSLT not working so well : Re: SSLT not working so well Server Time
30 Apr 2024 01:02:46 EDT (-0400)
  Re: SSLT not working so well  
From: Alain
Date: 5 Feb 2018 18:52:32
Message: <5a78ee40@news.povray.org>
Le 18-02-05 à 15:36, Mike Horvath a écrit :
> On 2/5/2018 3:31 PM, Mike Horvath wrote:
>> Can anyone diagnose the cause of all the dirty marks on the materials? 
>> Lowering the translucency helped a lot, but I don't know if that's the 
>> actual cure or something else. Thanks.
>>
>>
>> Mike

You need to increase the samples count.

> 
> Global settings:
> 
> 
>      #if (Use_Radiosity = true)
>          #include "rad_def.inc"
>          global_settings
>          {
>              assumed_gamma    1
>              adc_bailout        0.005
>              max_trace_level    8
>              ambient_light    0
>              radiosity {Rad_Settings(Radiosity_Default, 1, 1)}
>              #if (Use_SSLT = true)
>                  mm_per_unit        0.4
>                  subsurface
>                  {
>//                      samples 5, 5
// try this :
    samples 10, 10
// or this :
    samples 12, 8

>      //                samples 400, 40
>                      radiosity true
>                  }
>              #end
>          }
>      #else
>          global_settings
>          {
>              assumed_gamma    1
>              adc_bailout        0.005
>              max_trace_level 8
>              ambient_light    1
>          }
>      #end
> 
> 
> Surface finish:
> 
>    #declare lg_translucency = <0.01,0.01,0.01>;
> 
>    finish {
>      ambient 0
>      #if (lg_quality > 1)
>        diffuse 1
>        brilliance 1
>        phong 1
>        phong_size 40
>        reflection { 0.025 falloff 1 exponent 1 }
>        #if (Use_SSLT = true)
>          subsurface { translucency lg_translucency }
>        #end
>      #end
>      conserve_energy
>    }

You don't need "#if (Use_SSLT = true)". If SSLT is not enabled in the 
global_settings{...} block, then the subsurface{...} block have no 
effect and get ignored.

You should use reflection{0.025 fresnel}, or slightly higher, and set 
the IOR to around 1.5.
Just after the end of the finish block, add :
interior{ior 1.5}


Post a reply to this message

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