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!
- Host: GitHub
- URL: https://github.com/zalo/threeocclusogram
- Owner: zalo
- License: mit
- Created: 2024-10-15T19:59:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-15T20:14:40.000Z (over 1 year ago)
- Last Synced: 2025-03-25T12:53:33.836Z (over 1 year ago)
- Topics: occlusogram, three-js
- Language: JavaScript
- Homepage: https://zalo.github.io/ThreeOcclusogram/
- Size: 13 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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

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)