mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 10:34:29 +08:00
parent
d3dc9c5011
commit
ad4a6c4a6f
@ -349,7 +349,7 @@ class ViewerConfig(PrintableConfig):
|
||||
websocket_port: int = 7007
|
||||
min_render_image_height: int = 64
|
||||
max_render_image_height: int = 1024
|
||||
num_rays_per_chunk: int = 4096
|
||||
num_rays_per_chunk: int = 32768
|
||||
|
||||
|
||||
# Optimizer related configs
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"short_name": "Nerfactory Viewer",
|
||||
"name": "Interactive NeRF viewer",
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"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.',
|
||||
value: min_resolution,
|
||||
min: 10,
|
||||
max: 100,
|
||||
max: 256,
|
||||
step: 1,
|
||||
onChange: (v) => {
|
||||
set_min_resolution(v);
|
||||
},
|
||||
},
|
||||
' ': buttonGroup({
|
||||
'25px': () => setControls({ min_resolution: 25 }),
|
||||
'50px': () => setControls({ min_resolution: 50 }),
|
||||
'75px': () => setControls({ min_resolution: 75 }),
|
||||
'100px': () => setControls({ min_resolution: 100 }),
|
||||
'32px': () => setControls({ min_resolution: 32 }),
|
||||
'64px': () => setControls({ min_resolution: 64 }),
|
||||
'128px': () => setControls({ min_resolution: 128 }),
|
||||
'256px': () => setControls({ min_resolution: 256 }),
|
||||
}),
|
||||
max_resolution: {
|
||||
label: 'Max Res.',
|
||||
@ -192,8 +192,8 @@ export function RenderControls() {
|
||||
'Train Speed': buttonGroup({
|
||||
Fast: () => setControls({ min_resolution: 10, max_resolution: 10 }),
|
||||
Balanced: () =>
|
||||
setControls({ min_resolution: 50, max_resolution: 512 }),
|
||||
Slow: () => setControls({ min_resolution: 100, max_resolution: 1024 }),
|
||||
setControls({ min_resolution: 128, max_resolution: 512 }),
|
||||
Slow: () => setControls({ min_resolution: 258, max_resolution: 1024 }),
|
||||
}),
|
||||
}),
|
||||
[
|
||||
|
||||
@ -18,7 +18,7 @@ const initialState = {
|
||||
output_choice: 'rgb', // the selected output
|
||||
colormap_options: ['default'], // populated by the output choice
|
||||
colormap_choice: 'default', // the selected colormap
|
||||
minResolution: 50,
|
||||
minResolution: 128,
|
||||
maxResolution: 512,
|
||||
field_of_view: 80,
|
||||
eval_fps: 'Paused',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user