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, listing products as if we were reading a newspaper advertisement. This style for e-commerce is certainly functional, but we rarely get to try out the products, experience its features, and configure its options, and we are hardly engaged in a shopping...