Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

🌊 The code for my volume rendering implementation in Three.js and GLSL.

License

NotificationsYou must be signed in to change notification settings

SuboptimalEng/volume-rendering

Repository files navigation

Volume rendering is a common technique used to render 3D medical imaging data like MRIs or CT scans. This repo contains the code for my implementation in Three.js and GLSL. Here's a 30-second demo onTwitter andReddit.

Huge thanks to Will Usher for his blog post onVolume Rendering in WebGL.

Setup

git clone https://github.com/SuboptimalEng/volume-rendering.gitcd volume-rendering/npm installnpm run dev

But wait, there's more! After running these commands, you will be able to open the project in localhost. However, there will be no image rendered on screen. Why, you may ask? Simple, I did not want to upload multiple 16MB data files to GitHub. To see the demo in action, you will need to download one of these files and upload them via the UI.

Note: The website I linked has tons of models, but not all of them will work. I've hard-coded this project to work with256x256x256 uint8 files that are scaled1x1x1.

References

License

Shield:CC BY-NC-SA 4.0

This work is licensed under aCreative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

CC BY-NC-SA 4.0

About

🌊 The code for my volume rendering implementation in Three.js and GLSL.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp