POV-Ray : Newsgroups : povray.binaries.images : find the Santa Claus : find the Santa Claus Server Time
7 Nov 2024 02:25:52 EST (-0500)
  find the Santa Claus  
From: omniverse
Date: 23 Dec 2016 18:45:01
Message: <web.585db643351d89f49c5d6c810@news.povray.org>
Made a Merry Christmas picture and by pure coincidence ol' St. Nick seems to
have been reflected in some of the red ornaments. Not done on purpose. Just
snow-reflected light.

For the curious, adding scene here:

/* treeless ornaments around "warm" glow */

//cmd:+am2 +a0.2 +j1

#version 3.7;

global_settings{assumed_gamma 1.0
 radiosity{count 123 normal on media on}
}

light_source{<100,100,-100>,<0.2,0.4,0.6>*0.7
 area_light <5,0,0>,<0,0,5>,4,4
 area_illumination
 media_interaction off
 media_attenuation off}

light_source{<0,7.5,0>,<0.9,0.5,0.3>*0.9
 area_light <0.5,0,0>,<0,0,0.5>,6,6 circular orient
 area_illumination
 fade_distance 9 fade_power 2
 media_interaction on
 media_attenuation off}

camera{location <0,2.4,-24>
 up y right image_width/image_height*x
 look_at <0,5,0>}

// starry sky
#declare StarY = function {
 pigment { brick rgb <1,1,0> rgb 0 mortar 0.001 }
}

sphere{0,360 // stars
 hollow on
texture {
  pigment {
    function { StarY(x,y,z).red}
    turbulence 3 scale 33
    }
    finish { diffuse 0 ambient 1 emission 1 }
}
texture{pigment{rgbf<1,1,0,1>}}
 radiosity {importance 0.1}
}

sphere{0,1 // sky color
 hollow on
 pigment{
  function {abs(y)}
  color_map{
   [0 rgbt <0.6,0.1,0.2,0.3>]
   [0.1 rgbt <0.3,0.1,0.5,0.7>]
   [0.3 rgbt <0.2,0.4,0.9,0.8>]
   [1 rgbt <0.1,0.3,0.9,1>]
  }
 }
 finish{diffuse 0 ambient 1 emission 1}
 scale 333
 radiosity {importance 0.5}
}

// localized air haze
media{method 3 samples 200 scattering{1,0.03}
density{spherical density_map{[0.93 rgb 0][1 rgb 0.67]}}
scale 334}

// ornaments
#for(It,0,36,1)

sphere{<3-It/12,1+It/3,0>, 1-It/40
 rotate y*(360*It/6)
 material{
  texture{
 pigment{rgb <0,1,0>}
 finish{fresnel 1.33
  ambient 0
  brilliance 3
  diffuse albedo 0.5
  specular albedo 0.9 roughness 0.01
  reflection{0,1 fresnel on falloff 0.9 exponent 2}
 }
  }
  interior{ior 1.5}
 }
 radiosity {importance 1}
}

sphere{<3-It/12,1+It/3,0>, 1-It/40
 rotate y*(145+360*It/6)
 material{
  texture{
 pigment{rgb <1,0,0>}
 finish{fresnel 1.2
  ambient 0
  brilliance 4
  diffuse albedo 0.5
  specular albedo 0.9 roughness 0.01
  reflection{0,1 fresnel on falloff 0.9 exponent 3}
 }
  }
  interior{ior 1.5}
 }
 radiosity {importance 1}
}

#end // ornaments

// ground snow
height_field {
  function 2000,2000 {
    pattern {
      bozo scale 0.1
      }
    }
  translate -0.5
  scale <67,3,67>
  texture{
  pigment{rgb 1}
  normal{bumps 0.1 scale 0.3}
  finish{ambient 0.15 diffuse albedo 0.9
   specular albedo 3 roughness 0.01
   crand 0.1
  }
  }
  texture{
  pigment{bumps color_map{[0 rgb 1][0.2 rgbt 1]} scale 0.02}
  //normal{bumps 0.1 scale 0.3}
  finish{ambient 0.15 emission 0.05 diffuse albedo 9
   specular albedo 9 roughness 0.01
   //crand 0.1
  }
  }
  interior{ior 1.34}
  translate y*0.25
 radiosity {importance 0.75}
}


Post a reply to this message


Attachments:
Download 'ws no tree snow warm glow.png' (619 KB)

Preview of image 'ws no tree snow warm glow.png'
ws no tree snow warm glow.png


 

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