Skip to content

Commit 6ded375

Browse files
committed
WIP: implement KHR_gaussian_splatting extension
1 parent 042483b commit 6ded375

5 files changed

Lines changed: 435 additions & 8 deletions

File tree

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ Name | Status      
7070
------------------------------------|----------
7171
EXT_meshopt_compression | ✅ Complete
7272
KHR_draco_mesh_compression | ✅ Complete
73-
KHR_gaussian_splatting | 🚧 In Progress
74-
KHR_lights_punctual | ✅ Partial <sup>1</sup>
73+
KHR_gaussian_splatting | ✅ Complete <sup>1</sup>
74+
KHR_lights_punctual | ✅ Partial <sup>2</sup>
7575
KHR_materials_clearcoat | ✅ Complete
7676
KHR_materials_emissive_strength | ✅ Complete
7777
KHR_materials_ior | ✅ Complete
@@ -81,12 +81,13 @@ KHR_materials_specular | ✅ Complete
8181
KHR_materials_transmission | ✅ Complete
8282
KHR_materials_unlit | ✅ Complete
8383
KHR_materials_variants | ✅ Complete
84-
KHR_materials_volume | ✅ Partial <sup>2</sup>
84+
KHR_materials_volume | ✅ Partial <sup>3</sup>
8585
KHR_mesh_quantization | ✅ Complete
8686
KHR_texture_transform | ✅ Complete
8787

88-
<sup>\[1\]</sup> Spotlight cone falloff is ignored.
89-
<sup>\[2\]</sup> Thickness is not supported by the MaterialX glTF PBR implementation.
88+
<sup>\[1\]</sup> Requires USD v26.03+.
89+
<sup>\[2\]</sup> Spotlight cone falloff is ignored.
90+
<sup>\[3\]</sup> Thickness is not supported by the MaterialX glTF PBR implementation.
9091

9192
### License
9293

src/libguc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ set(LIBGUC_DEFINES
4141
if(TARGET usd_ms)
4242
set(LIBGUC_USD_LIBS usd_ms)
4343
else()
44-
set(LIBGUC_USD_LIBS usd usdGeom usdLux usdShade usdUtils usdMtlx usdUI)
44+
set(LIBGUC_USD_LIBS usd usdGeom usdLux usdVol usdShade usdUtils usdMtlx usdUI)
4545
endif()
4646

4747
set(LIBGUC_SHARED_LIBRARIES

src/libguc/src/cgltf_util.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ namespace detail
5151
return strcmp(name, GLTF_EXT_MESHOPT_COMPRESSION_EXTENSION_NAME) == 0 ||
5252
#ifdef GUC_USE_DRACO
5353
strcmp(name, GLTF_KHR_DRACO_MESH_COMPRESSION_EXTENSION_NAME) == 0 ||
54+
#endif
55+
#if PXR_VERSION >= 2603
56+
strcmp(name, "KHR_gaussian_splatting") == 0 ||
5457
#endif
5558
strcmp(name, "KHR_lights_punctual") == 0 ||
5659
strcmp(name, "KHR_materials_clearcoat") == 0 ||

0 commit comments

Comments
 (0)