|Hosting by PhotoTangler Collage Maker|
Question submitted by (19 July 1999)
|Return to The Archives|
|I am trying to program a (glide) 3D-Game in C++, but I can't get the clipping described in the issue 03 (http://www.flipcode.com/portal/issue03.htm) written. I can program c++, but I don't know much about these mathematics (I'm 15 years old). I read so much about clipping, but everybody says "Oh, this is easy, just do it like ...", but nobody gives me the formulas I need. Please help me and give me a piece of code!|
I wrote a document that describes a 3D perspective clipper. I covered the
math so that you need very little knowledge of vectors & matrices (yet
some knowledge is still required.)
You can find it here.
Response provided by Paul Nettle
This article was originally an entry in flipCode's Fountain of Knowledge, an open Question and Answer column that no longer exists.