POV-Ray : Newsgroups : povray.binaries.images : Not what I expected : Not what I expected Server Time
14 Aug 2024 03:15:01 EDT (-0400)
  Not what I expected  
From: cadman
Date: 14 Dec 2002 10:22:56
Message: <3dfb4cd0@news.povray.org>
Two posts in a row!  Anyhow, forgive my ignorance:  if you shine a white
light through a blue glass, doesn't the light "turn" blue?  What am I
missing here?  I would expect the caustics here to be blue, right?  Thanks.

#declare M_Royal_Blue_Glass=material {
 texture {
  pigment {
   NewMidnightBlue*1.2 filter 0.75
  }
  finish {
   diffuse 0.8
   specular 1
   roughness 0.002
   reflection { 0.25 }
  }
 }
 interior {
  ior 1.5
  dispersion 1.1
  dispersion_samples 7
 }
}

light_source {
 <10, 75, -10>
 color <1, 1, 1>*1.05
 area_light
 x*8, y*4, 8, 4
 adaptive 1
 jitter
 circular
 orient
}
light_source {
 <10, 45, 10>
 color <1, 1, 1>*1.05/2
 area_light
 x*8, y*4, 8, 4
 adaptive 1
 jitter
 circular
 orient
}

object {
 center
 material { M_Royal_Blue_Glass }
 photons{
  target 0.5
  refraction on
  reflection on
  collect off
 }
}


Post a reply to this message


Attachments:
Download 'dc glass 2.jpg' (19 KB)

Preview of image 'dc glass 2.jpg'
dc glass 2.jpg


 

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