|
![](/i/fill.gif) |
This system of using the trace function could have another use, though:
distribution of light sources over the surface of an object, to simulate a true
area light source of arbitrary shape. In this case, neither aliasing, edge
rounding and other problems matter: you only need the point cloud.
I have entertained thoughts of writing a macro to do this, but I have neither
the time nor the expertise to hope for much success. I would rather have sb.
else do the hard work ;)
Margus
Ronald L. Parker wrote:
>
> On Sun, 25 Oct 1998 00:09:36 -0400, Nathan Kopp <Nat### [at] Kopp com>
> wrote:
>
> >This is a good idea, but it will probably not work perfectly, because of
> >multiple intersections with trace (how do you ensure that you'll get all
> >of them?). Also, you will run into problems with sharp edges getting
> >rounded because a sample ray doesn't hit them directly.
>
> I guess you trace again after you find the first intersection,
> starting just past the first intersection. But I'd rather watch my
> grass grow than actually do such a thing. There's also the issue of
> how you determine which points are on the same surface once you've
> found your cloud of intersection points. And, of course, the limits
> to any sampling scheme: the rounded edges you mention, plus aliasing.
Post a reply to this message
|
![](/i/fill.gif) |