3 ms·
How many lines of WebGL would it be?
by luminarious 9y ago
How many lines of WebGL would it be?
- kilpikaarna 9y agoProbably about the same. Most of the code is defining data types and loading an OBJ file, and modern OpenGL requires quite a lot of boilerplate before anything gets drawn.
- khedoros1 9y agoHow many lines does it take you to build a pixel buffer in WebGL? SDL2 here is being used to handle input, open a window, and update a texture stretched over the full window using a software-rendered buffer of pixel data.