3D graphics programmers using Python?
Brandon Van Every
vanevery at 3DProgrammer.com
Thu Feb 6 03:57:12 EST 2003
Bengt Richter wrote:
> On Wed, 05 Feb 2003 22:58:33 GMT, "Brandon Van Every"
> <vanevery at 3DProgrammer.com> wrote:
>
>> That means when you're trying to compute points on the
>> SphereTriangle, you end up having to use arccosines.
>>
> If you want great circle surface distance, I would have thought
> arcsine more likely.
That's merely an implementation detail of your formulation. If you are
determining your arc from a vertex and a point the opposite edge, their dot
product is the cosine, so you take the arccos. If you were using a planar
normal representation of the triangle boundary, you'd use an arcsin. Six of
one, half dozen of the other. The point is, you have to use an inverse
trigonometric function.
--
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