JolifantoBambla / trichi

Generates triangle cluster hierarchies for per-cluster LOD selection & rendering
https://jolifantobambla.github.io/trichi/
MIT License
3 stars 0 forks source link

Wasm & npm package #7

Open JolifantoBambla opened 2 months ago

JolifantoBambla commented 2 months ago

Use emscripten for now

JolifantoBambla commented 2 months ago

tested wasm build with 4.3m triangles - took 3091493 ms (~51.5 min) (vs 75ms on native) guess it's not super useful (as expected) but could be still fun for some hobby projects

JolifantoBambla commented 1 month ago

no idea why it took so long the first time - it's ~15 min now for the 4.3 million tris

JolifantoBambla commented 1 month ago

It would be nice to have attributes for the version that uses assimp to load the model - maybe expose some assimp postprocessing flags.

JolifantoBambla commented 1 month ago

Npm package needs some keywords

JolifantoBambla commented 1 month ago

Link to js files in top level readme