PDA

View Full Version : 3D-Math



fobru
08-05-2003, 12:36 AM
Has anybody writen some code with geometry formulas like calculating the intersectionline of two planes and so on??
Is there a good link or book for that??

Relic
08-05-2003, 01:04 AM
http://www.faqs.org/faqs/graphics/algorithms-faq/

zeckensack
08-05-2003, 02:17 AM
Buy me (http://www.amazon.com/exec/obidos/tg/detail/-/1558605932/qid=1060078587/sr=8-2/ref=sr_8_2/102-8385524-5887364?v=glance&s=books&n=507846) .

Eric Lengyel
08-05-2003, 12:14 PM
No, buy me instead! (http://www.terathon.com/books/mathgames.html) http://www.opengl.org/discussion_boards/ubb/smile.gif

DJSnow
08-05-2003, 02:03 PM
@(author-of-this-topic)

i also would prefer Eric's book, it's the more understandable guide (apart from that, it's cheaper too, i think; or not?)

zeckensack
08-05-2003, 02:15 PM
Dunno http://www.opengl.org/discussion_boards/ubb/smile.gif
I recommended Eberly because the book covers distance/intersection of just about everything you can imagine (lozengen!?), complete with source code.
It may well be that the other book is better.

Korval
08-05-2003, 02:31 PM
lozengen!?

A Lozengen is the most versatile, not to mention near-sphere speed, collision primitive you can find. It makes human limbs very well.

fobru
08-06-2003, 01:16 AM
What about that one? (http://www.amazon.com/exec/obidos/tg/detail/-/1558605940/qid=1060161261/sr=1-1/ref=sr_1_1/102-3768317-9288918?v=glance&s=books)

davepermen
08-06-2003, 01:28 AM
Originally posted by Korval:
A Lozengen is the most versatile, not to mention near-sphere speed, collision primitive you can find. It makes human limbs very well.

google doesn't show up anything useful about that.. any free info about it?

Tom Nuydens
08-06-2003, 02:06 AM
What Eberly calls a lozenge is a rectangle with a thickness, and with rounded edges. Picture sweeping a sphere along a line segment: this gives you a cylinder with hemispheres as caps (instead of circles). Now extend this idea from a line to a rectangle.

The dictionary disagrees with Eberly, though: http://dictionary.reference.com/search?q=lozenge

-- Tom

davepermen
08-06-2003, 03:03 AM
ahh, okay. thanks..

you could extend that to a box, too.. right/wrong? http://www.opengl.org/discussion_boards/ubb/biggrin.gif