RE: [AD] Patch for the documentation of polygon_z_normal() |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: <alleg-developers@xxxxxxxxxx>
- Subject: RE: [AD] Patch for the documentation of polygon_z_normal()
- From: "Robert Ohannessian" <ROhannessian@xxxxxxxxxx>
- Date: Sun, 5 Jun 2005 17:00:31 -0700
- Thread-index: AcVqDZSXzuJexhdeS7WbO1TUktHuPwAHNjhQ
- Thread-topic: [AD] Patch for the documentation of polygon_z_normal()
[snip]
> + to the screen. However, this method of culling back-faces should
only
> be
> + used once the X and Y coordinates have been projected into screen-
> space
> + using persp_project() (or if an isometric-projection is being
used).
> In
>
> I'd replace "should" by "can" and "isometric" by "orthographic".
It should be "must". The code is not really useful otherwise; it doesn't
cull backfaces if the geometry hasn't been projected to screen-space (or
a linear transformation thereof).