Is there any pros and cons using barycentric coordinates compared with the half-space tests mentioned in slide 11?
keenan
@Sherwin You probably want to compute barycentric coordinates to do shading (e.g., to look up into a texture, or to interpolate colors at vertices). But if you write out the arithmetic for the half-space tests, you'll find that the barycentric coordinates fall out of those tests pretty easily too. After all, you're performing the same computation in the end!
Is there any pros and cons using barycentric coordinates compared with the half-space tests mentioned in slide 11?
@Sherwin You probably want to compute barycentric coordinates to do shading (e.g., to look up into a texture, or to interpolate colors at vertices). But if you write out the arithmetic for the half-space tests, you'll find that the barycentric coordinates fall out of those tests pretty easily too. After all, you're performing the same computation in the end!