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...
На этой странице сайта вы можете посмотреть видео онлайн WebGL Tutorial 02 - Rotating 3D Cube длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Indigo Code 18 Январь 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 151,904 раз и оно понравилось 1.7 тысяч зрителям. Приятного просмотра!