|
![](/i/fill.gif) |
> For each face, your SDL uses 2D components of 4 points to generate a flat
> prism object that lies parallel to the XZ plane, then you re-orient it based
> upon vectors defined using only the first 3 of the 4 points. Because the
> fourth point 3D that you pass into the routine doesn't lie on the same plane
> as the first 3 3D points you pass into the routine, your surface ends up
> sticking up in the air and doesn't stand a chance of touching the fourth
> point.
*slaps head repeatedly*
Duh!
Of *course* it's not gonna work with a non-plannar surface...! >_<
God, sometimes I think I should just go crawl into a hole somewhere...
OK, now let's see what happens if I feed it some coordinates which
actually describe a feasible polyhedron...
Post a reply to this message
|
![](/i/fill.gif) |