added skeleton nodes
This commit is contained in:
+1
-3
@@ -17,8 +17,6 @@ mesh-to-sdf>=0.0.14
|
||||
# UV unwrapping
|
||||
xatlas>=0.0.11
|
||||
|
||||
# Advanced remeshing
|
||||
PyNanoInstantMeshes>=0.1.0
|
||||
|
||||
# Skeleton extraction (optional)
|
||||
skeletor>=1.2.0
|
||||
PyNanoInstantMeshes
|
||||
|
||||
@@ -257,6 +257,14 @@
|
||||
|
||||
console.log('[GeomPack VTK Viewer] Initializing...');
|
||||
|
||||
// Helper function to convert RGB values (0-1 range) to RGB string
|
||||
function createRGBStringFromRGBValues(r, g, b) {
|
||||
const r255 = Math.round(r * 255);
|
||||
const g255 = Math.round(g * 255);
|
||||
const b255 = Math.round(b * 255);
|
||||
return `rgb(${r255}, ${g255}, ${b255})`;
|
||||
}
|
||||
|
||||
const loading = document.getElementById('loading');
|
||||
const container = document.getElementById('container');
|
||||
|
||||
|
||||
@@ -324,6 +324,14 @@
|
||||
|
||||
console.log('[GeomPack VTK Filters] Initializing...');
|
||||
|
||||
// Helper function to convert RGB values (0-1 range) to RGB string
|
||||
function createRGBStringFromRGBValues(r, g, b) {
|
||||
const r255 = Math.round(r * 255);
|
||||
const g255 = Math.round(g * 255);
|
||||
const b255 = Math.round(b * 255);
|
||||
return `rgb(${r255}, ${g255}, ${b255})`;
|
||||
}
|
||||
|
||||
const loading = document.getElementById('loading');
|
||||
const container = document.getElementById('container');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user