POV-Ray : Newsgroups : povray.beta-test : Nice SSLT find Server Time
29 Dec 2024 12:53:26 EST (-0500)
  Nice SSLT find (Message 1 to 1 of 1)  
From: Alain
Subject: Nice SSLT find
Date: 1 Mar 2012 12:34:56
Message: <4f4fb340@news.povray.org>
You can actualy have partial transparency. You only need an object thin 
enough.

My test scene:

#version 3.7;

global_settings {
   assumed_gamma 1
   mm_per_unit 5
   subsurface{}
   }

#declare Prism = prism {
   -0.5, 0.5, 4
   <-1, -0.3>, <1, 0>, <-1, 0.3>, <-1, -0.3>
   scale 12
}
object { Prism scale<2,2,1>
   pigment { rgbf<1, 1, 1, 0.0> }
   finish {
     ambient 0
     diffuse 0.8
     phong 1
     phong_size 200
     subsurface { translucency <4, 1, 0.25>}
   }
   interior {
     ior IOR
     fade_distance 1
     fade_power 1001
   }
}
#include "colors.inc"
plane { -z, -20
    pigment {
       checker color Yellow color Green
       scale 4
    }
    finish {
       ambient 0.002
       diffuse 0.8
    }
}
camera {
   orthographic
   location <0, 0, -100>
   right 80 * 4/3 * x
   up    80 * y
   look_at <0, 0, 0>
}

Image on povray.binaries.images


Alain


Post a reply to this message

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