WebGL Beginner's Guide - Chapter 2

Asynchronous Loading with JSON and AJAX

Please review the functions loadModel and handleLoadedModel to understand how we can load complex geometries from files instead of specifying them directly into the webpage using JavaScript arrays

Your browser does not support the HTML5 canvas element.
test