In this video, I explain the theory behind expressing 3D scenes in 2D spaces (such as your screen), and how to program with that in consideration with WebGL. I imagine this is closer to what you want to do with WebGL.
A live demo is available at http://www.kamaron.me/tutorial-live/w...
In this series, I will not be using any external libraries like Three.JS. These tutorials are intended for people comfortable (but not necessarily experienced) with JavaScript and HTML, with or without any prior graphics programming experience. Ideally, I would like anybody watching my full tutorial set to be able to create a 3D video game from scratch using WebGL.
Source code available at https://github.com/sessamekesh/Indigo...
glMatrix library used for math: http://glmatrix.net/
Other fantastic WebGL resources:
http://antongerdelan.net/opengl/webgl...
http://webglfundamentals.org/
https://www.chromeexperiments.com/webgl
https://developer.mozilla.org/en-US/d...
https://msdn.microsoft.com/en-us/libr...
Sur cette page du site, vous pouvez voir la vidéo en ligne WebGL Tutorial 02 - Rotating 3D Cube durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Indigo Code 18 janvier 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 151,904 fois et il a aimé 1.7 mille téléspectateurs. Bon visionnage!