diff --git a/nerfactory/configs/base.py b/nerfactory/configs/base.py index 8bf9f7e9a..2e3f657eb 100644 --- a/nerfactory/configs/base.py +++ b/nerfactory/configs/base.py @@ -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 diff --git a/nerfactory/viewer/app/public/manifest.json b/nerfactory/viewer/app/public/manifest.json index f9051fe71..94272585b 100644 --- a/nerfactory/viewer/app/public/manifest.json +++ b/nerfactory/viewer/app/public/manifest.json @@ -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", diff --git a/nerfactory/viewer/app/public/texture.jpeg b/nerfactory/viewer/app/public/texture.jpeg deleted file mode 100644 index f2c2480cd..000000000 Binary files a/nerfactory/viewer/app/public/texture.jpeg and /dev/null differ diff --git a/nerfactory/viewer/app/public/texture2.jpeg b/nerfactory/viewer/app/public/texture2.jpeg deleted file mode 100644 index 400b0dc65..000000000 Binary files a/nerfactory/viewer/app/public/texture2.jpeg and /dev/null differ diff --git a/nerfactory/viewer/app/src/modules/ConfigPanel/ConfigPanel.jsx b/nerfactory/viewer/app/src/modules/ConfigPanel/ConfigPanel.jsx index 1e25e380b..d37c0f6f1 100644 --- a/nerfactory/viewer/app/src/modules/ConfigPanel/ConfigPanel.jsx +++ b/nerfactory/viewer/app/src/modules/ConfigPanel/ConfigPanel.jsx @@ -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 }), }), }), [ diff --git a/nerfactory/viewer/app/src/reducer.js b/nerfactory/viewer/app/src/reducer.js index bdfc509a1..9445a4e11 100644 --- a/nerfactory/viewer/app/src/reducer.js +++ b/nerfactory/viewer/app/src/reducer.js @@ -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',