vizorvr / patches

Patches is a visual programming editor for building WebVR and WebGL experiences.
http://patches.vizor.io
MIT License
200 stars 44 forks source link

Hack OBJLoader to work with machinedrum/ocean-of-thought objs #2092

Closed kschzt closed 6 years ago

kschzt commented 6 years ago

This is a bug that slipped in the last release. When decimating objects in Blender, they are left with l lines in the .obj that are out of place, making the loader attempt to put two kinds of geometries in the same object. This works around that bug by simply ignoring the l lines altogether, like the previous version of the loader did.

kschzt commented 6 years ago

Here is an OBJ in a ZIP that has this problem. Very possibly a problem in Blender. The l lines shouldn't be going into the same geometry as the v lines? dikart3.obj.zip