|
|
Chris Huff wrote:
> Ok, I mostly understood that-but what is sigma, other than a greek
> letter?
I just meant summation, but was unsure how to notate it.
>
> If I understand this correctly, I should divide the angle between the
> normal of each sample and the normal at the evaluation point by the
> distance of the sample from the evaluation point, total these up, and
> divide by the number of samples. Um, never mind, easier for me to think
> this way(pseudocode follows):
>
> SPoint = sample point
> EPoint = evaluation point
> total = 0;
> while(taking N samples)
> {
> S = distance of SPoint from EPoint
> theta = angle between normal at SPoint and normal at EPoint
> total += theta/S;
> }
> result = total/N;
>
> Is this right?
Well, I don't know if the formula itself is right, but you certainly did
understand what I said correctly. I wonder if there might be a way that
would require less samples though? Oh well, I'm not going to be able to
find it.
Post a reply to this message
|
|