[WIP] added preset button controls; moved rendering into timing loop (#270)

added preset button controls; moved rendering into timing loop
This commit is contained in:
evonneng authored and GitHub committed 2022-08-12 09:53:29 -07:00
1 parent 8e32e7863e
commit b03755d6ab
2 files changed
+6 -1

No files matched your search

@@ -213,6 +213,12 @@ export function RenderControls() {
set_fov(v);
},
},
// training speed
"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 }),
}),
}),
[
isTraining,