mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +08:00
Interactable camera path (#372)
* click to add cameras * buttons for translate, rotation, and world/local * gui layout mostly done * interpolation works * slider play works * camera code mostly working
This commit is contained in:
1 parent
ad4a6c4a6f
commit
adf249b3cd
11 files changed
+650
-48
No files matched your search
@@ -164,8 +164,59 @@ $sidebar-width: 100% !default;
|
||||
}
|
||||
|
||||
// ------------------------------------
|
||||
// Camera Vie
|
||||
// }
|
||||
// Camera Pane
|
||||
|
||||
.CameraPanel {
|
||||
}
|
||||
|
||||
.CameraPanel-top-button {
|
||||
display: inline-block;
|
||||
margin: 4px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.CameraPanel-slider-container {
|
||||
margin-top: 40px;
|
||||
margin-left: 20px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.CameraPanel-slider-button-container {
|
||||
margin-bottom: 10px;
|
||||
|
||||
button {
|
||||
margin: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.CameraList-container {
|
||||
position: relative;
|
||||
height: 600px;
|
||||
overflow: scroll;
|
||||
border: solid 1px $highlight-color1;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.CameraList-row {
|
||||
padding: 4px;
|
||||
border: solid 1px $highlight-color1;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.CameraList-row-buttons {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.CameraList-row-time-interval > div {
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
margin: 10px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
// ------------------------------------
|
||||
// Viewer Window
|
||||
|
||||
.canvas-container-main,
|
||||
.WebRTCVideo {
|
||||
@@ -182,3 +233,21 @@ $sidebar-width: 100% !default;
|
||||
height: 100%;
|
||||
object-fit: fill;
|
||||
}
|
||||
|
||||
$viewer_button_size: 100px;
|
||||
|
||||
.ViewerWindow-buttons {
|
||||
position: absolute;
|
||||
margin: 10px;
|
||||
top: 0px;
|
||||
right: $SidePanel-width;
|
||||
z-index: 1000;
|
||||
width: $viewer_button_size;
|
||||
background-color: $base-color1;
|
||||
}
|
||||
|
||||
.ViewerWindow-iconbutton {
|
||||
border: solid 1px red;
|
||||
width: 100%;
|
||||
height: $viewer_button_size;
|
||||
}
|
||||
Reference in new issue
Block a user