Sophie

Sophie

distrib > * > cooker > x86_64 > by-pkgid > 0243c8b7bca94179c78b9bd6ac76c033 > files > 487

cg-examples-3.0.0018-0.1.x86_64.rpm


This CgFX 2.0 example demonstrates improved quadrilateral rendering
with barycentric coordinate interpolation of attributes based on mean
value coordinates implemented via a geometry shader in combination with
a fragment shader.

Attribute interpolation is perspective-correct.

Fragments exterior to a bow-tied quadrilateral are discarded properly.