An open API service indexing awesome lists of open source software.

https://github.com/zalo/threeocclusogram

Visualize the Occlusogram of a pair of meshes in your browser!
https://github.com/zalo/threeocclusogram

occlusogram three-js

Last synced: 9 months ago
JSON representation

Visualize the Occlusogram of a pair of meshes in your browser!

Awesome Lists containing this project

README

          

# [ThreeOcclusogram](https://zalo.github.io/ThreeOcclusogram/)







A simple proof of concept for computing and visualizing Dental Occlusograms on the GPU

![ThreeOcclusogramDemo](./assets/OcclusogramDemo.gif)

This demo uses `three-mesh-bvh` to treat the meshes like SDFs, but prebaking the meshes to 3D textures would probably be much faster.

Inspired by this Github Issue: https://github.com/zalo/ThreeHydroelasticContacts/issues/1

# Building

This demo can either be run without building (in Chrome/Edge/Opera since raw three.js examples need [Import Maps](https://caniuse.com/import-maps)), or built with:
```
npm install
npm run build
```
After building, make sure to edit the index .html to point from `"./src/main.js"` to `"./build/main.js"`.

# Dependencies
- [three.js](https://github.com/mrdoob/three.js/) (3D Rendering Engine)
- [three-mesh-bvh](https://github.com/gkjohnson/three-mesh-bvh) (Accelerated Raycasting and Closest Point Queries)
- [esbuild](https://github.com/evanw/esbuild/) (Bundler)