From Theory to Experiments, Second Edition

Computer Graphics Through
OpenGL: From Theory to
Experiments, Second Edition
Chapter 7
Figure 7.1: Points that
split segment PQ.
Figure 7.2: Illustration
for the proof of
Proposition 7.1.
Figure 7.3: What are the
conditions on c1 and c2 for
V = c1P + c2Q to lie on
either side of PQ?
Figure 7.4: Illustration
for the proof of
Proposition 7.2.
Figure 7.5: A triangle
DEF with vertices at the
midpoints of the edges of a
larger triangle.
Figure 7.6: Color values specified at the vertices P1, P2 and P3 of a triangle are
interpolated at V .
Figure 7.7: Screenshot of
Experiment 7.1.
Figure 7.8: Screenshot of
interpolation.cpp.
Figure 7.9: Project, scale and rasterize.
Figure 7.10: Convex and non-convex subsets of R2 – non-convexity is indicated by an
example of a black line with endpoints in the object but that itself is not contained in it.
Figure 7.11: Part answer to Exercise 7.23.
Figure 7.12: A rubber band snapping to bound the convex hull of the nails.
Figure 7.13: Convex hulls.
Figure 7.14: Screenshot
of convexHull.cpp.
Figure 7.15: V has at
least two expressions as a
convex combination of P1,
P2, P3 and P4.
Figure 7.16: A non-planar quad q drawn in two different ways.