POV-Ray : Newsgroups : povray.general : Re: normal_transparency! : Re: caustic effect Server Time
8 Aug 2024 12:19:36 EDT (-0400)
  Re: caustic effect  
From: Gilles Tran
Date: 6 Jan 2001 07:06:02
Message: <3A570AC6.CA9CE64D@inapg.inra.fr>
Florentine Audet wrote:

> Is it caustic ? Anyway I will try it;  It would be nice,  if it worked;
> I have found something special in term of water-texture,  with
> some "normal { agate scale }",  but it doesn't give any spots
> of shadows at all...

You can use normal and photons to do this but you can also fake it with a color_map.

G.

// using a color_map
camera {location  <2,3,-4>    direction z up y     right x*4/3 look_at <0,0,0>}
light_source {<-200,100,100>  color rgb 2}
box{<-2,0,-1>,<2,0.01,2> pigment{bozo poly_wave 0.5 color_map{[0 rgb<0.3,1,1>][1
rgbf<0.3,1,1,1>]} scale 0.5} translate y}
plane{y,0 pigment{rgb 1}}

// using photons
#version unofficial Megapov 0.6;
global_settings{photons  {count 20000}}
camera {location  <2,3,-4>    direction z up y     right x*4/3 look_at <0,0,0>}
light_source {<-200,100,100>  color rgb 2}
box{<-2,0,-1>,<2,0.01,2> pigment{rgbf<0.3,1,1,1>} interior{ior 1.33} normal{crackle 2

scale 0.3}  photons {target 1 refraction on }translate y}
plane{y,0 pigment{rgb 1}}

--

**********************
http://www.oyonale.com
**********************
Graphic experiments
Pov-ray gallery



--

**********************
http://www.oyonale.com
**********************
Graphic experiments
Pov-ray gallery


Post a reply to this message

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