POV-Ray : Newsgroups : povray.newusers : Light. Point_at ??? : Re: Light. Point_at ??? Server Time
28 Sep 2024 17:56:08 EDT (-0400)
  Re: Light. Point_at ???  
From: LanuHum
Date: 17 Jun 2013 14:10:00
Message: <web.51bf5013127956147a3e03fe0@news.povray.org>
Alain <kua### [at] videotronca> wrote:

>
> #declare Middle=0;
> //ground plane
> plane{y,0 pigment{rgb 1/8}}
>
> //a back plane to keep rays finite
> plane{-z,-30 pigment{rgb 0}}
> //the camera
> camera{location<0,10,-30> look_at 0}
> // setting the creation of 5 lights in a loop
> #declare L_Num=5;
> #while(L_Num>0)
> light_source{<-25,90,0> rgb 8
> spot_light radius 1 falloff 2
> #if(Middle=1)translate 10*x #end
> // this translate ONLY the light and NOT the point_at
>
> point_at 0
>
> #if(Middle=0)translate 10*x #end
> // This translate BOTH the light and the point_at
>
> #declare L_Num=L_Num-1;
> #end // of the loop
> media{scattering{1 rgb 0.1}}///////ERROR!!!!!!!
>

> Alain

media{scattering{1 rgb 0.1}}///////ERROR!!!!!!! Scattering in light source??????


Post a reply to this message

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