Archived
feat: upgrade cabinet materials to MeshPhysicalMaterial for realistic transparency and implement hierarchy-based name matching
This commit is contained in:
1 parent
b9ff899a23
commit
26fdb2b675
8 files changed
+1252
-46
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import * as THREE from 'three';
|
||||
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
|
||||
import fs from 'fs';
|
||||
|
||||
// To run this in node, I need to do something simpler since I don't have a DOM.
|
||||
// Actually, let's just use `parse` from gltf-pipeline or just regular expression on the JSON string.
|
||||
// I will just read the GLB JSON header.
|
||||
Reference in new issue
Block a user