POV-Ray : Newsgroups : moray.win : Advice on Physical Light Sources : Re: Advice on Physical Light Sources Server Time
28 Jul 2024 20:23:26 EDT (-0400)
  Re: Advice on Physical Light Sources  
From: Bob Hughes
Date: 18 Feb 2000 16:25:38
Message: <38adb8d2@news.povray.org>
The usual way is like:

#declare Brightness=.75;

#declare VisibleLight=
 sphere {0,1 scale <1,1,.5> pigment {rgbf <1,1,.95,.75>}
  normal {granite .05 scale .05}
   finish {ambient <1,1,.95> phong .5 phong_size 1}
  interior {ior 1.5 caustics 1 fade_distance .75 fade_power 2}
 }

 light_source {<0,0,0>,<1,1,.95>*Brightness
  looks_like {VisibleLight}
   fade_distance 3 fade_power 1
 }

Then the object used is already implied to have 'no_shadow'; a texture can also
show up if you want.

Bob


Post a reply to this message

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