mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-28 20:10:05 +08:00
quick ui fix
This commit is contained in:
1 parent
3377c5344b
commit
fc347d40d4
1 file changed
+4
-3
@@ -66,7 +66,7 @@ export default function MeshSubPanel(props) {
|
|||||||
label: 'Normal Options',
|
label: 'Normal Options',
|
||||||
options: [...new Set(normal_options)],
|
options: [...new Set(normal_options)],
|
||||||
value: normal_options[0],
|
value: normal_options[0],
|
||||||
render: (get) => get('mesh_method_options') === 'poisson (best)',
|
render: (get) => get('mesh_method_options') === 'poisson',
|
||||||
},
|
},
|
||||||
numFaces: { label: 'Number of Faces', value: 50000, min: 1 },
|
numFaces: { label: 'Number of Faces', value: 50000, min: 1 },
|
||||||
textureResolution: { label: 'Texture Resolution', value: 2048, min: 1 },
|
textureResolution: { label: 'Texture Resolution', value: 2048, min: 1 },
|
||||||
@@ -74,12 +74,12 @@ export default function MeshSubPanel(props) {
|
|||||||
label: 'Number of Points',
|
label: 'Number of Points',
|
||||||
value: 1000000,
|
value: 1000000,
|
||||||
min: 1,
|
min: 1,
|
||||||
render: (get) => get('mesh_method_options') === 'poisson (best)',
|
render: (get) => get('mesh_method_options') === 'poisson',
|
||||||
},
|
},
|
||||||
removeOutliers: {
|
removeOutliers: {
|
||||||
label: 'Remove Outliers',
|
label: 'Remove Outliers',
|
||||||
value: true,
|
value: true,
|
||||||
render: (get) => get('mesh_method_options') === 'poisson (best)',
|
render: (get) => get('mesh_method_options') === 'poisson',
|
||||||
},
|
},
|
||||||
useBoundingBox: {
|
useBoundingBox: {
|
||||||
label: 'Crop',
|
label: 'Crop',
|
||||||
@@ -147,6 +147,7 @@ export default function MeshSubPanel(props) {
|
|||||||
];
|
];
|
||||||
|
|
||||||
const mesh_method_choice = controlValues.mesh_method_options;
|
const mesh_method_choice = controlValues.mesh_method_options;
|
||||||
|
console.log(mesh_method_choice);
|
||||||
let cmd = '';
|
let cmd = '';
|
||||||
if (mesh_method_choice === 'tsdf') {
|
if (mesh_method_choice === 'tsdf') {
|
||||||
cmd =
|
cmd =
|
||||||
|
|||||||
Reference in new issue
Block a user