Mission accomplished

This project covered the groundwork in WebGL: shader languages, reading 3D models by artists, the math behind ray-bounding box detection and matrices, and examples of how WebGL can transform the world of e-commerce. Along the way, we covered the fundamentals: 3D meshes built from a set of vertices connected three-somes to form triangles; the normals at each vertex, used to calculate the light; and cameras, so we can render a scene from any location. We then applied texture maps to 3D meshes that apply a virtual wallpaper to our 3D structures. Finally, we included interactivity to manipulate objects in the 3D scene.

A factor for WebGL as a tool for e-commerce will be transitioning from the current catalog design of 2D websites, ...

Get WebGL HOTSHOT 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.