Skip to content
Proyectos

Acerca de

🎖️ 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

Diseño y multimedia

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
+1
in 15 days
+9
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

OpenVDB

[!NOTE] WVDB (.wvdb) is a live proposal. The format can change. See the WebVDB format specification.

[!TIP] Convert .vdb files to .wvdb before you use them on the web: npx webvdb explosion.vdb (or npm install -g webvdb, then wvdb explosion.vdb). A .wvdb file 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.
  • webvdb - wvdb CLI: converts .vdb files, folders and ZIP files into .wvdb files.
  • 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:

Be sure to ⭐️ those!

Example sequence: Ground Explosion by JangaFX (EmberGen), CC0. More free VDBs: jangafx.com.

Explorar proyectos relacionados

Cargando…