save renders to a folder and bump viewer version (#733)

save data to renders folder. bump viewer
This commit is contained in:
Ethan Weber authored and GitHub committed 2022-10-07 15:14:18 -07:00
1 parent 26a41923e5
commit b37eae5bb2
6 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "viewer",
"homepage": ".",
"version": "22-10-02-0",
"version": "22-10-07-0",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.4",
@@ -469,7 +469,7 @@ export default function CameraPanel(props) {
// Copy the text inside the text field
const config_filename = `${config_base_dir}/config.yml`;
const camera_path_filename = `${config_base_dir}/camera_path.json`;
const cmd = `ns-render --load-config ${config_filename} --traj filename --camera-path-filename ${camera_path_filename} --output-path output.mp4`;
const cmd = `ns-render --load-config ${config_filename} --traj filename --camera-path-filename ${camera_path_filename} --output-path renders/output.mp4`;
navigator.clipboard.writeText(cmd);
const camera_path_payload = {