SketchpunkLabs | Fun with WebGL 2.0 : 009 : The Cube @SketchpunkLabs | Uploaded 7 years ago | Updated 1 day ago
CORRECTION
Missing the update to fCreateMeshVAO in the GL.JS File. This adds a new argument to the function called vertLen. Line numbers of change are 81 and 92. Here's the github source if you just want to quickly just copy the function.
https://github.com/sketchpunk/FunWithWebGL2/blob/master/lesson_009/gl.js#L81
=================================================
Today we've reach the point in where we can start building our first 3rd dimensional shape, the cube. First we explore the first question when learning about cubes, How many vertices does it take? We go through the exercise of building a cube with the usual first answer of 8 vertices to illustrate why it doesn't work that way. Then we go on and then build our cube how its actually works in GL with some fun animations thrown in for the hell of it.
=================================================
Cool Resources
PLOTCON 2016: Future of 3D scientific charts using WebGL
https://www.youtube.com/watch?v=rFjszW5L2aw
=================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/
CORRECTION
Missing the update to fCreateMeshVAO in the GL.JS File. This adds a new argument to the function called vertLen. Line numbers of change are 81 and 92. Here's the github source if you just want to quickly just copy the function.
https://github.com/sketchpunk/FunWithWebGL2/blob/master/lesson_009/gl.js#L81
=================================================
Today we've reach the point in where we can start building our first 3rd dimensional shape, the cube. First we explore the first question when learning about cubes, How many vertices does it take? We go through the exercise of building a cube with the usual first answer of 8 vertices to illustrate why it doesn't work that way. Then we go on and then build our cube how its actually works in GL with some fun animations thrown in for the hell of it.
=================================================
Cool Resources
PLOTCON 2016: Future of 3D scientific charts using WebGL
https://www.youtube.com/watch?v=rFjszW5L2aw
=================================================
GitHub :: https://github.com/sketchpunk/FunWithWebGL2
Patreon :: https://www.patreon.com/sketchpunk
Tumblr :: http://sketchpunklabs.tumblr.com/