POV-Ray : Newsgroups : povray.general : Wanted: Air and Water : Re: Wanted: Air and Water Server Time
19 May 2024 07:34:11 EDT (-0400)
  Re: Wanted: Air and Water  
From: Sven Littkowski
Date: 15 Feb 2016 05:21:35
Message: <56c1a6af$1@news.povray.org>
Hi,

I never worked with area light and area illumination before. I tried to
establish this kind of light based on your example, but I am not sure if
I gave the correct numbers. And I also don't know the correct order.


 #declare MyLight = union
 {
  light_source
  {
   5000.0*z      // Location
   760.0*x*0.7   // Color?
   257, 33       // ?
   area_light    // Type
 // The POV-Ray docu says vectors and sizes are required for area light
   < -1000.0, -1300.0, 0.0 > < 1000.0, -1300.0, 5000.0 > 3, 3 // OK?
   adaptive 0    //
   area_illumination on //
  }
  cylinder
  {
   0, 5000.0*z, 760.0
   pigment
   {
    radial
    color_map
    {
     [ 0.00 rgb  0.5 ]
     [ 0.05 rgbf < 0.8, 0.5, 0.2, 1.0 > ]
     [ 0.10 rgbf 1.0 ]
     [ 0.40 rgbf 1.0 ]
     [ 0.45 rgbf < 1.0, 0.7, 0.5, 1.0 > ]
     [ 0.50 rgb  0.5 ]
    }
    rotate 180*z
   }
   translate < 0.0, -10.0, 0.0 >
  }
 }

------------------------------------------------------------

On 14.02.2016 10:47, Alain wrote:
> area_light HabitatLength*z, AxleRadius*x*0.7, 257, 33 adaptive 0 area_illumination


Post a reply to this message

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