APPENDIX B

image

Graphics Refresher

It is assumed throughout this book that the reader has a basic understanding of 3D graphics but we will refresh memories of some relevant topics in this appendix.

Pixels

When we digitally represent an image on a computer screen, it is composed of a rectangular grid of individual points of color known as pixels. This type of a representation is known as a raster graphic or bitmap. How true to the original image the displayed image appears depends on the number of pixels on the screen: the resolution. In Figure B-1, we show an input image on the left, a 4 × 4 pixel grid representation in the center and a 16 × 16 grid ...

Get Beginning WebGL for HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.