概要
🎖️ The absolutely most complete web implementation of OpenVDB standard ☁️ | Supports Houdini, Blender, and Janga FX's EmberGen exports | Implements WebVDB standard | Active support ensured via agents
デザイン・メディア計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +9
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルOpenVDB
[!NOTE] WVDB (
.wvdb) is a live proposal. The format can change. See the WebVDB format specification.
[!TIP] Convert
.vdbfiles to.wvdbbefore you use them on the web:npx webvdb explosion.vdb(ornpm install -g webvdb, thenwvdb explosion.vdb). A.wvdbfile is much smaller.
This project ports the OpenVDB file format and tools to JavaScript and Node.
VDB is a volumetric data format, originally in C++ (AcademySoftwareFoundation/openvdb). It stores voxel data, for example smoke, fire and fluid simulations, or 3D models converted to voxels. Because of the memory and multithreading limits of JavaScript, this repository is closer to a read-only NanoVDB. The code is based on OpenVDB.
Docs
openvdb- VDB reader, grids and helpers. No renderer.three-openvdb- renderer setup, usage,VDBLoader,VDBAnimationLoader.- Rendering frame -
FrameVolume,FrameVolumeAnimation, instances, medium presets,frameRenderer.settings, volume shadows,FrameEmissionLight. - WVDB loaders -
WVDBLoader,WVDBAnimationLoader,WVDBReader. - Level sets -
LevelSetMesh,LevelSetSurface. - Points -
VDBPoints.
- Rendering frame -
webvdb-wvdbCLI: converts.vdbfiles, folders and ZIP files into.wvdbfiles.- WebVDB format specification
- Examples - build and deploy of the examples site.
Current Feature Support
Based on files hosted on https://www.openvdb.org/download/.
| Model | Support | Notes |
|---|---|---|
| armadillo.vdb | ✅ Yes | |
| buddha.vdb | ✅ Yes | |
| bunny.vdb | ✅ Yes | |
| bunny_cloud.vdb | ✅ Yes | |
| crawler.vdb | ✅ Yes | |
| cube.vdb | ✅ Yes | |
| dragon.vdb | ✅ Yes | |
| emu.vdb | ✅ Yes | |
| explosion.vdb | ✅ Yes | |
| fire.vdb | ✅ Yes | |
| icosahedron.vdb | ✅ Yes | |
| iss.vdb | ✅ Yes | |
| smoke1.vdb | ✅ Yes | |
| smoke2.vdb | ✅ Yes | |
| space.vdb | ✅ Yes | |
| sphere.vdb | ✅ Yes | |
| torus.vdb | ✅ Yes | |
| torus_knot.vdb | ✅ Yes | |
| utahteapot.vdb | ✅ Yes | |
| venusstatue.vdb | ✅ Yes | |
| boat_points.vdb | ✅ Yes | |
| bunny_points.vdb | ✅ Yes | |
| sphere_points.vdb | ✅ Yes | |
| waterfall_points.vdb | ✅ Yes |
Development
git clone https://github.com/mjurczyk/openvdb
cd ./openvdb
npm install
npm run build
npm run dev
Credits
To avoid re-coding same things over again, parts of the library may be based / taken directly from the following:
- gkjohnson/three-mesh-bvh: BVH implementation
- manzt/numcodecs.js: BLOSC & ZLIB compression
- nodeca/pako: ZLIB compression
Be sure to ⭐️ those!
Example sequence: Ground Explosion by JangaFX (EmberGen), CC0. More free VDBs: jangafx.com.
関連プロジェクトを探す
読み込み中…