An interactive 3D visualization of human stomach / upper-GI anatomy built in Unity. The user navigates a first-person camera through and around an animated stomach model, with an endoscopy-style camera effect and blend-shape driven tissue motion — intended as an educational / visualization tool.
Disclaimer: This project is for educational and visualization purposes only. It is not a medical device and must not be used for clinical, diagnostic, or treatment decisions.
- Engine: Unity 2022.3.49f1 (LTS)
- Render pipeline: Universal Render Pipeline (URP)
- Language: C# (MonoBehaviour scripts + one custom shader)
- Large assets: tracked via Git LFS (see below)
Assets/Imported/motacolon.blend— the source Blender model of the anatomy (~75 MB; the master mesh the FBX is derived from).Assets/Materials/Stomach.fbx— the stomach mesh imported into Unity.- Baked textures —
Stomach_BakedDiffuse / BakedGlossy / BakedNormal(baked out of the Blender source). Assets/Materials/EndoscopyVignette.shader+EndoscopyVignetteMat.mat— the endoscope-style vignette post effect.Assets/Scenes/SampleScene.unity— the main scene.
*.blend, *.fbx, and other large binaries are stored in Git LFS (see
.gitattributes), so Git LFS must be installed to get the actual model
files on clone (otherwise you get small pointer files).
- First-person navigation — move a physics-based camera through the model.
- Endoscopy vignette effect — a full-screen shader that darkens the frame edges to mimic the view through an endoscope camera.
- Blend-shape animation — esophagus → stomach → duodenum deformations are triggered as the camera passes waypoints, plus a full-stomach dilation.
- Dynamic mesh collider — the mesh collider re-bakes when blend shapes change so collision tracks the deforming tissue.
- Collision feedback — an on-screen message when the camera contacts tissue.
| Input | Action |
|---|---|
W / S / A / D or arrow keys |
Move the camera |
Q / E |
Move down / up (also bound to interactions such as light toggle / stomach dilation in some setups) |
| Mouse / rotation keys | Look around |
(Key bindings are defined on the individual controller scripts and can be changed in the Inspector.)
- Install Unity Hub and Unity 2022.3.49f1 (LTS).
- Ensure Git LFS is installed (
git lfs install) before cloning, then clone the repo — this pulls the real.blend/.fbxfiles. - Open the project folder in Unity Hub.
- Open
Assets/Scenes/SampleScene.unity. - Press Play.
Released under the MIT License — see LICENSE.