|
![](/i/fill.gif) |
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] stmuc com
Web : http://www.stmuc.com/moray
Post a reply to this message
|
![](/i/fill.gif) |