Commit Graph

5 Commits

Author SHA1 Message Date
richgel999
2cb6bdadc1 Checking in new webgl files. Note that the WebAssembly transcoder has gotten bloated with BC7 support, which I'm working on fixing right now. (The wasm went from ~200k to 900k, because of a transcoder macro configuration issue.) 2019-09-19 14:34:39 -07:00
Preston Tamkin
39b5c5bc42 Modularize emscripten build.
By default, emscripten's generated javascript modules lives in the global object "Module'.

This makes it impossible to load multiple emscripten modules on the same page.

In attempt to avoid namespace collision, this change modularizes the emscripten build so the Module is instead called 'BASIS'.

Many target applications for Basis are likely to already be using other emscripten modules.

Testing:

The existing webgl/(texture|gltf) pages have been updated to use the new name and seem to operate as before
2019-06-11 23:42:49 -07:00
shrekshao
4009e93c5a Use low-quality AGI model 2019-05-15 14:25:26 -07:00
Don McCurdy
871ccb0cb7 Update readmes. 2019-05-15 09:45:25 -07:00
Don McCurdy
e654e346bc Rename demo folders. 2019-05-15 09:30:31 -07:00