POV-Ray : Newsgroups : povray.general : Web Graphics : Re: Web Graphics Server Time
14 Nov 2024 17:11:36 EST (-0500)
  Re: Web Graphics  
From: Darcy Johnston
Date: 29 May 1999 00:22:18
Message: <374f5d6a.0@news.povray.org>
Ken <tyl### [at] pacbellnet> wrote in message
news:374F5BD1.34FD1D3D@pacbell.net...
> Darcy Johnston wrote:
> > I now have a different problem I'll throw at you. I'm trying to declare
an
> > area_light and seem to have trouble getting it the way I want it. From
what
> > I understand:
> >
> > light_source
> > {
> >   0  color rgb 1.0  area_light
> >   x*10, y,10, 1
> >   adaptive 0   jitter
> > }
> >
> > should create a linear light that runs across the x axis from 0 to 10
and
> > has 10 lights running across. Yet for some reason it still seems to
behave
> > like a point light. The object I'm trying to illuminate runs across the
> > x-axis as well so I would expect the object to be illuminated evenly
across
> > its entire surface, yet only the corner closest to the origin is full
> > illuminated and the light fades away we go across the object.
> >
> > What am I doing wrong? Or am I just not understanding this correctly?
> >
> > Thanks again for your help,
> > Darcy
>
> You are only specifying one light in your array.
>
> x*10, y,10, 1 = 1 light
>
> Should be like these examples:
>
> x*10, y,10,  10,  1 = 10 x 1  = 10 lights - 10 in 1 row
>
> x*10, y,10,   5,  2 =  5 x 2  = 10 lights -  5 in 2 rows
>
> x*10, y,10,   5,  5 =  5 x 5  = 25 lights -  5 in 5 rows
>
> x*10, y,10,   4, 10 =  4 x 10 = 40  lights - 4 in 10 rows

Then what is the first 10 for? if x*10, y define the two axis for the area
light, I would figure the next two numbers determine the number of lights.
Perhaps you figured x*10, y, 10 was supposed to be x*10, y*10?

Darcy


Post a reply to this message

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