
-----------------------------------
Mazer
Mon Mar 08, 2004 6:51 pm

Plotting 3D points onto a 2D screen
-----------------------------------
I didn't write this but I'm willing to bet there is a good deal of new programmers interested in at least learning about 3D programming even if their language of choice doesn't have a 3D graphics API and the example code used is not in any particular language so:
[url=http://freespace.virgin.net/hugo.elias/routines/3d_to_2d.htm]Check it out if you are interested.

-----------------------------------
Ultimus
Sun May 16, 2004 2:17 am


-----------------------------------
Pertty solid dude...
If only I had read this before I started work on my 3d engine, it would have saved a load of painstaking trial and error bull.

If anybody is seriosuly considering writing an engine, this would be the place to start :D .

-----------------------------------
thegoose
Wed Jun 16, 2004 7:18 pm

3-D graphics engine
-----------------------------------
You are essentially looking for a projection which projects all the points onto a plane and then connecting/filling them accordingly. This is a rather simpler process using only similar triangles. However, it can get quite messy once you have 40+ points. To make it run faster, you probably need hash charts/quick sorting.

-----------------------------------
SuperGenius
Wed Jun 16, 2004 7:21 pm


-----------------------------------
ouch my brain hurts seeing all that math after cramming for my exam tomorrow
