Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tincture
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
tincture
10y ago
WebGL doesn't really understand "file formats", so you're left to load the file into a buffer yourself. JSON is a reasonable way to do that. Once you hand off the vertices to the WebGL context, it's all the same bit
2.
▲
by
tincture
10y ago
If you're already familiar with Javascript, and you want to learn WebGL, I recommend just diving into THREE.js instead. The problem with this tutorial is that almost all of it is hidden behind an opaque "loadWFObj", so you do