3D graphics programmers using Python?
Brandon Van Every
vanevery at 3DProgrammer.com
Wed Feb 5 17:58:33 EST 2003
Bengt Richter wrote:
> On Tue, 04 Feb 2003 20:31:46 GMT, "Brandon Van Every"
> <vanevery at 3DProgrammer.com> wrote: [...]
>> Breaking up circles is trivial, you're dealing with constant arc
>> lengths.
>> Breaking up spheres is much harder, the arc length changes over the
>> triangular patch. I've finally finished wrapping my head around the
>> math of
>> all of this. I've solved the problem to the degree it can be.
> [...]
> What do you mean by "the arc length changes over the triangular
> patch"? Just curious.
Pick 3 distinct points on a sphere. Call the area they bound a
"SphereTriangle." Even if the SphereTriangle is equilateral, great arcs
traced from a vertex to an opposite edge do *not* have constant length.
That means when you're trying to compute points on the SphereTriangle, you
end up having to use arccosines.
--
Cheers, www.3DProgrammer.com
Brandon Van Every Seattle, WA
20% of the world is real.
80% is gobbledygook we make up inside our own heads.
More information about the Python-list
mailing list