Create high-performance, visually stunning 3D applications for the Web, using HTML5 and related technologies such as CSS3 and WebGL―the emerging web graphics standard. With this book, you’ll learn how to use the tools, frameworks, and libraries for building 3D models and animations, mind-blowing visual effects, and advanced user interaction in both desktop and mobile browsers. In two parts―Foundations and Application Development Techniques―author Tony Parisi provides a thorough grounding in theory and practice for designing everything from a simple 3D product viewer to immersive games and interactive training systems. Ideal for developers with Javascript and HTML experience.
Parte molto bene, spiegando bene i concetti di WebGL, ma poi ha diversi difetti.
Primo, e più importante, il codice non è completo. Riporta nel libro solo le parti essenziali per spiegare l'argomento, ma senza scaricare i sorgenti allegati al libro è quasi impossibile riprodurre quello che spiega.
Secondariamente, a circa metà del libro introduce un framework/libreria scritto dall'autore, e poi lo usa per gli esempi successivi, rendendo molto meno generale la spiegazione (avrebbe potuto continuare con Three.js) e costringendo di nuovo a scaricare e studiare il codice a parte. Avrei preferito che almeno avesse riportato il codice di questa libreria e lo avesse spiegato.
Mostly outdated, but still useful because it provides both an overview of WebGL and Three.js, and because in the final chapters the book gives some recommendations on:
- how to structure a 3D application, - how to pick the most approriate WebGL framework for our project, - how to create a WebGL framework to suit our specific project requirements, and which features to include in it.
TL;DR: skip most of the chapters, there are better resources today (e.g. WebGL Fundamentals, the Three.js online documentation, etc). Read the recommendations in chapters 8, 9, 10, 11.