mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 13:28:59 +08:00
1 parent
d3dc9c5011
commit
ad4a6c4a6f
6 files changed
+11
-11
No files matched your search
@@ -349,7 +349,7 @@ class ViewerConfig(PrintableConfig):
|
|||||||
websocket_port: int = 7007
|
websocket_port: int = 7007
|
||||||
min_render_image_height: int = 64
|
min_render_image_height: int = 64
|
||||||
max_render_image_height: int = 1024
|
max_render_image_height: int = 1024
|
||||||
num_rays_per_chunk: int = 4096
|
num_rays_per_chunk: int = 32768
|
||||||
|
|
||||||
|
|
||||||
# Optimizer related configs
|
# Optimizer related configs
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"short_name": "React App",
|
"short_name": "Nerfactory Viewer",
|
||||||
"name": "Create React App Sample",
|
"name": "Interactive NeRF viewer",
|
||||||
"start_url": ".",
|
"start_url": ".",
|
||||||
"display": "standalone",
|
"display": "standalone",
|
||||||
"theme_color": "#000000",
|
"theme_color": "#000000",
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 52 KiB |
@@ -154,17 +154,17 @@ export function RenderControls() {
|
|||||||
label: 'Min Res.',
|
label: 'Min Res.',
|
||||||
value: min_resolution,
|
value: min_resolution,
|
||||||
min: 10,
|
min: 10,
|
||||||
max: 100,
|
max: 256,
|
||||||
step: 1,
|
step: 1,
|
||||||
onChange: (v) => {
|
onChange: (v) => {
|
||||||
set_min_resolution(v);
|
set_min_resolution(v);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
' ': buttonGroup({
|
' ': buttonGroup({
|
||||||
'25px': () => setControls({ min_resolution: 25 }),
|
'32px': () => setControls({ min_resolution: 32 }),
|
||||||
'50px': () => setControls({ min_resolution: 50 }),
|
'64px': () => setControls({ min_resolution: 64 }),
|
||||||
'75px': () => setControls({ min_resolution: 75 }),
|
'128px': () => setControls({ min_resolution: 128 }),
|
||||||
'100px': () => setControls({ min_resolution: 100 }),
|
'256px': () => setControls({ min_resolution: 256 }),
|
||||||
}),
|
}),
|
||||||
max_resolution: {
|
max_resolution: {
|
||||||
label: 'Max Res.',
|
label: 'Max Res.',
|
||||||
@@ -192,8 +192,8 @@ export function RenderControls() {
|
|||||||
'Train Speed': buttonGroup({
|
'Train Speed': buttonGroup({
|
||||||
Fast: () => setControls({ min_resolution: 10, max_resolution: 10 }),
|
Fast: () => setControls({ min_resolution: 10, max_resolution: 10 }),
|
||||||
Balanced: () =>
|
Balanced: () =>
|
||||||
setControls({ min_resolution: 50, max_resolution: 512 }),
|
setControls({ min_resolution: 128, max_resolution: 512 }),
|
||||||
Slow: () => setControls({ min_resolution: 100, max_resolution: 1024 }),
|
Slow: () => setControls({ min_resolution: 258, max_resolution: 1024 }),
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ const initialState = {
|
|||||||
output_choice: 'rgb', // the selected output
|
output_choice: 'rgb', // the selected output
|
||||||
colormap_options: ['default'], // populated by the output choice
|
colormap_options: ['default'], // populated by the output choice
|
||||||
colormap_choice: 'default', // the selected colormap
|
colormap_choice: 'default', // the selected colormap
|
||||||
minResolution: 50,
|
minResolution: 128,
|
||||||
maxResolution: 512,
|
maxResolution: 512,
|
||||||
field_of_view: 80,
|
field_of_view: 80,
|
||||||
eval_fps: 'Paused',
|
eval_fps: 'Paused',
|
||||||
|
|||||||
Reference in new issue
Block a user