microsoft / HoloJS

Provides a framework for creating holographic apps using JavaScript and WebGL.
MIT License
1.19k stars 114 forks source link

Fix access violation when loading images and fix other MTL-OBJ loader issues #103

Closed Almost-Done closed 7 years ago

Almost-Done commented 7 years ago

The WIC stream used to decode images does not take a reference on the underlying image buffer. Increasing the ref count on the buffer was done explicitly, but that line of gone has gone missing.

Add console.time and console.timeEnd; ThreeJS's MTL loader expects them.

Add MTL+OBJ loader sample