mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 10:55:57 +08:00
Minor viewer updates
This commit is contained in:
1 parent
cbebde0d58
commit
f48d9c39f2
2 files changed
+4
-6
No files matched your search
@@ -25,9 +25,9 @@ export function get_scene_tree() {
|
||||
|
||||
// Main camera
|
||||
const main_camera = new THREE.PerspectiveCamera(75, 1, 0.1, 1000);
|
||||
main_camera.position.x = 5;
|
||||
main_camera.position.y = -5;
|
||||
main_camera.position.z = 5;
|
||||
main_camera.position.x = 0.7;
|
||||
main_camera.position.y = -0.7;
|
||||
main_camera.position.z = 0.3;
|
||||
main_camera.up = new THREE.Vector3(0, 0, 1);
|
||||
sceneTree.set_object_from_path(['Cameras', 'Main Camera'], main_camera);
|
||||
|
||||
|
||||
@@ -308,9 +308,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 =
|
||||
`python scripts/run_eval.py render-trajectory --load-config ${config_filename} --traj filename --camera-path-filename ${camera_path_filename} --output-path output.mp4` +
|
||||
` --downscale-factor 4`;
|
||||
const cmd = `python scripts/run_eval.py render-trajectory --load-config ${config_filename} --traj filename --camera-path-filename ${camera_path_filename} --output-path output.mp4`;
|
||||
navigator.clipboard.writeText(cmd);
|
||||
|
||||
const camera_path_payload = {
|
||||
|
||||
Reference in new issue
Block a user