POV-Ray : Newsgroups : povray.text.scene-files : Granite light. Server Time
28 Jul 2024 14:30:31 EDT (-0400)
  Granite light. (Message 1 to 1 of 1)  
From: Alan
Subject: Granite light.
Date: 11 Jun 2000 19:21:35
Message: <39441eff@news.povray.org>
See the post in povray.binaries.images.  Thanks.

---

// Persistence of Vision Ray Tracer Scene Description File
// File: granite_light.pov
// Vers: MegaPOV 0.5a
// Desc: A light enclosed in a sphere with variable filtering via a colour
map.
// Date: 12 June 2000
// Auth: Alan - man### [at] freeukcom

// Works fine under the official v3.1g.
// Comment this line out if not using MegaPOV.
#version unofficial MegaPOV 0.5;

global_settings {assumed_gamma 2.0}
background {rgb <0.7,0.7,0.9>}
fog {fog_type 2 distance 500 rgb <0.7,0.7,0.9> fog_alt 50}

camera {
  location <-10,3,-25>
  right x*(4/3) up y*1
  angle 35
  look_at <0,2,0>
  perspective
}

plane {y 0 pigment {rgb <0.4,0.4,0.75>}}
sphere {<0,2,0> 2 pigment {rgb 1} finish {ambient 0.1 diffuse 0.7}}

#declare lite=<-50,50,-25>;

light_source {lite rgb 1.5}

//  This is where the action is.
//  Try changing the scale and turbulence of the color_map.
sphere {lite 1
  pigment {
    granite
    color_map {
      [0.0 rgbf <1,1,1,0.1>]
      [0.5 rgbf <1,1,1,1.0>]
      [1.0 rgbf <1,1,1,0.1>]
    }
  scale 0.01
  turbulence 0.0
  }
  hollow
}


Post a reply to this message

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