ComputeSphereVisibility: a patch
hverbeet at gmail.com
Sun Nov 16 17:21:16 CST 2008
2008/11/15 Frank Richter <frank.richter at gmail.com>:
> On 14.11.2008 20:27, paulo lesgaz wrote:
>> here is a patch for a first try to implement ComputeSphereVisibility.
>> Any feedback is welcome.
> I think you can simplify the sphere-plane intersection. Just compute the
> signed distance D of the sphere center from the plane. If D > r, the
> sphere is visible. If -r <= D <= r, the sphere is partially visible. if
> D < -r, it's invisible.
Yeah, that's basically what I described in my earlier mail.
More information about the wine-devel