POV-Ray : Newsgroups : moray.win : MegaPOV support in next Moray version? : Re: MegaPOV support in next Moray version? Server Time
28 Jul 2024 20:26:42 EDT (-0400)
  Re: MegaPOV support in next Moray version?  
From: Lutz Kretzschmar
Date: 13 Jul 2000 10:34:49
Message: <amkrmskpki508llho3evlcul4mc97iln5i@4ax.com>
Hi Warp, you recently wrote in moray.win:

>   In this one:
> .....
> the sphere is translated by the location of the light source. That is,
> this produces a sphere that is located at <1,1,0>.
> 
>   In this one:
> ....
> however, the sphere is not translated anywhere (of course), so it produces
> a sphere that is located at <0,0,0>.
Aw gee, and I thought it was something internal that I hadn't come
across<g>. This is a non-issue in Moray though, since you can see
where the looks_like object is placed, relative to the light.

I assume then, that 

light_source
{ <1,1,0>, 1
  looks_like { sphere { 0, .1 pigment { rgb 1 } finish { ambient 1 } }
}

... and ....

union
{ light_source { <1,1,0>, 1 }
  sphere { 
    0, .1 no_shadow pigment { rgb 1 } finish { ambient 1 } 
    translate <1,1,0>
  }
}

will light scene in the same way, right?

- Lutz
  email : lut### [at] stmuccom
  Web   : http://www.stmuc.com/moray


Post a reply to this message

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