Re:WebGL Tutorial: Rendering Wavefront 3D Models
by Wilya on Sunday December 11, 2016 @02:33PM
(#13152698)
Yeah, but you still have to parse the .obj. What the article is doing is .obj -> .json -> WebGL arrays. There isn't really any reason to put the .json intermediary in the middle. Especially since you will only treat it as a blackbox to pass around.
JSON is nice as a hand-editable text format. It isn't designed to be fast to parse, or to produce small files.
JSON is nice as a hand-editable text format. It isn't designed to be fast to parse, or to produce small files.