Cette galerie est à destination des lecteurs de l'édition imprimée (en N&B) du livre Synhèse d'images avec OpenG(ES) écrit par Pierre Nerzic.
Vous trouverez sur cette page les images requérant de la couleur du chapitre Optimisation du dessin de la partie Forme des objets.
Figure 6.1 : GL_POINTS

Figure 6.2 : GL_LINES

Figure 6.3 : GL_LINE_STRIP

Figure 6.4 : GL_LINE_LOOP

Figure 6.5 : GL_TRIANGLES

Figure 6.6 : GL_TRIANGLE_FAN

Figure 6.7 : GL_TRIANGLE_STRIP

Figure 6.8 : GL_QUADS

Figure 6.9 : GL_QUAD_STRIP

Figure 6.11 : Plusieurs tracés, même VBO d'indices

Figure 6.12 : Deux primitives avec un seul appel à glDrawElements

(encadré)

Figure 6.16 : Largeur des points et des lignes

Figure 6.17 : Pointillés

Figure 6.19 : Hachures

Figure 6.22 : Remplissage ou non

Figure 6.25 : Décalage de polygones
