Is it because we calculate the cross product which corresponds to the area, so we get them for free during rasterization?
Max
Not exactly - this slide is referring to getting the signed distance of the point from the edge with the half-plane test, which we can use to easily get barycentric coords (distance/height).
However, if you're using the cross product for intersection testing instead of the half-plane tests (edge equations), you would be right.
buzz
Wow this makes sampling across triangles much more intuitive! The quiz really helped to see this in action.
ruochen2
Could anyone kindly provide other methods to calculate the coordinates?
jasonx
Barycentric coordinates come up in contest math geometry problems when normal coordinate bashing is too cumbersome.
fbrsk
Among Matrix inversion, Triangle and height ratios all of them seem to be equally bad/good. Is there a particular barycentric coordinate system that is better ? Or can it be accelerated by hardware in any way?
borderwing
Barycentric coordinates are really useful for interpolation
Is it because we calculate the cross product which corresponds to the area, so we get them for free during rasterization?
Not exactly - this slide is referring to getting the signed distance of the point from the edge with the half-plane test, which we can use to easily get barycentric coords (distance/height).
However, if you're using the cross product for intersection testing instead of the half-plane tests (edge equations), you would be right.
Wow this makes sampling across triangles much more intuitive! The quiz really helped to see this in action.
Could anyone kindly provide other methods to calculate the coordinates?
Barycentric coordinates come up in contest math geometry problems when normal coordinate bashing is too cumbersome.
Among Matrix inversion, Triangle and height ratios all of them seem to be equally bad/good. Is there a particular barycentric coordinate system that is better ? Or can it be accelerated by hardware in any way?
Barycentric coordinates are really useful for interpolation