feat(viewport): camera navigation and framing parity with Maya 2027 (tumble, track, dolly, viewFit)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- computer-graphics, desktop
Direzione di ricerca
Start with src/viewport_ui.rs, .project-docs/development.md policy rows 24–27, and mcp.md; compare the implemented input mappings and camera operations with the cited Maya commands. First map which gaps are already represented in the viewport and MCP interfaces, then identify the missing behavior and its acceptance checks. Done means documented mappings cite their command flags, unsupported tools remain visibly unsupported, and any new operation has MCP coverage, schema sync, protocol tests, and a native visual check.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Orbit, pan and dolly (mouse and MCP orbit_camera, pan_camera, dolly_camera), set_camera_pose, View > Default View, Frame Selected (F, Ctrl+F) and Frame All (A, frame_all) are implemented. No open issue owns the gaps between them and the documented Maya 2027 navigation tools: #48 covers panels, orthographic views and display menus, and #292 covers bookmarks only. Navigation gains and the pitch limit are provisional constants (policy rows 24 to 27 in .project-docs/development.md).
Gaps
- Mouse mappings: Alt+Left tumble, Alt+Middle track, Alt+Right or Alt+Left+Middle dolly; Shift constrains tumble and track; Ctrl+Alt+left drag draws a marquee to dolly into an area [S1][S2]. Check each against
src/viewport_ui.rs; the Shift constraint and the box dolly are not implemented. - Zoom versus dolly: Dolly moves the camera; Zoom changes the focal length without moving it [S1]. AztecCraft's wheel dollies; record the mapping.
- Tumble Tool settings: Tumble scale default 1 (range 0.01 to 10); Tumble camera about the centre of interest (default) or the tumble pivot; Orthographic tumbling Locked (default on) and Stepped [S3] (2024 page via search; PROVISIONAL for 2027).
tumble -pivotPoint,-localTumble,-azimuthAngle,-elevationAngle,-rotationAngles[S4]. - Dolly Tool:
dolly -distance,-absolute,-relative,-dollyTowardsCenter,-orthoScale[S5]. Dolly towards the pointer versus the centre of interest is not implemented. - Track:
track -left,-right,-down(and-upDistance01/02) [S6];pan_camerashould document the mapping. - Framing:
viewFit -fitFactor,-animate,-allObjects,-center,-noChildren,-fitClipPlanes,-namespace; no default fit factor is stated [S7]. Frame Selected, Ctrl+F (with children) and Frame All should name theirviewFitequivalent;-noChildrencorresponds to F framing parents only (#338). - Shift+F and Shift+A frame in all views [S8]; this needs several panels (#48).
- View history:
[back and]forward, View > Undo/Redo View Change [S9]. #292 leaves these out of scope; this issue owns them. - Default view: Alt+Home or View > Default View [S9] (implemented);
viewSet -homeis the scripted form [S10]. - Other camera tools: Roll, Azimuth Elevation, Yaw-Pitch, Fly (Ctrl+drag), Walk (Alt+X), 2D Pan/Zoom [S1]; visibly unsupported until done.
- Camera attributes for MCP reads:
camera -focalLength,-nearClipPlane,-farClipPlane,-horizontalFilmAperture,-centerOfInterest,-orthographic,-orthographicWidth[S11].inspect_scenereports field of view and clip planes but not focal length or centre of interest. - Preferences "Animate camera transitions" and dolly-to-pointer wording: unsourced; do not add them until sourced.
MCP and scripting equivalents
| AztecCraft MCP | Maya |
|---|---|
orbit_camera |
tumble -azimuthAngle -elevationAngle [S4] |
pan_camera |
track -left/-right/-down [S6] |
dolly_camera |
dolly -distance (relative) [S5] |
set_camera_pose |
camera -e -position -rotation, viewPlace (page not fetched) [S11] |
frame_selected, frame_all |
viewFit, viewFit -allObjects [S7] |
Version history (Maya 2011 to 2027)
Dates come from comparing command-reference pages; 2015 and 2021 pages could not be fetched.
| Feature | Version | Change | Source |
|---|---|---|---|
tumble, track, dolly flag sets |
2013 or earlier to 2027 | unchanged | [S12] |
viewFit -allObjects, -animate, -fitFactor |
2013 or earlier | present | [S13] |
viewFit -center |
absent 2014, present 2016 | added in 2015 or 2016 | [S14] |
viewFit -noChildren |
absent 2020, present 2022 | added | [S15] |
viewFit -fitClipPlanes |
absent 2023, present 2024 | added | [S16] |
| Alt+mouse mappings | 2016 page (search) and 2027 page | unchanged | [S17][S1] |
viewSet -side |
2027 | deprecated, use -rightSide |
[S10] |
Compatibility-version note: Ctrl+F with children and F parents-only behaviour should be checked against -noChildren (2022); under an earlier compatibility version the parents-only distinction may not apply (PROVISIONAL).
Acceptance
- Each implemented mapping cites its Maya command and flag in
mcp.md. - Unimplemented tools and modifiers stay visibly unsupported with a reason; no dummy tools.
- MCP coverage, schema sync and real Editor protocol tests for any new operation; native visual check.
Sources
- [S1] Camera tools, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Basics/files/GUID-DDE25A30-0D59-4F92-8150-98DD12EF39DE.htm
- [S2] View keys, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Basics/files/GUID-8D330D02-98DC-441F-872E-4648BC23DCFF.htm
- [S3] Camera tools, 2024 (search summary): https://help.autodesk.com/cloudhelp/2024/ENU/Maya-Basics/files/GUID-DDE25A30-0D59-4F92-8150-98DD12EF39DE.htm
- [S4] tumble, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Tech-Docs/CommandsPython/tumble.html
- [S5] dolly, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Tech-Docs/CommandsPython/dolly.html
- [S6] track, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Tech-Docs/CommandsPython/track.html
- [S7] viewFit, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Tech-Docs/CommandsPython/viewFit.html
- [S8] Keyboard shortcuts, 2026: https://help.autodesk.com/cloudhelp/2026/ENU/Maya-KeyboardShortcuts/files/GUID-30CACC9D-8FBE-4B85-8A8F-C5ADF32DDD4E.htm
- [S9] Return to the default view and previous views, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Basics/files/GUID-5DB3F04B-7CED-4CD2-9C02-8C9D1368266A.htm
- [S10] viewSet, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Tech-Docs/CommandsPython/viewSet.html
- [S11] camera, 2027: https://help.autodesk.com/cloudhelp/2027/ENU/Maya-Tech-Docs/CommandsPython/camera.html
- [S12] tumble, 2013: http://download.autodesk.com/global/docs/maya2013/en_us/CommandsPython/tumble.html
- [S13] viewFit, 2013: http://download.autodesk.com/global/docs/maya2013/en_us/CommandsPython/viewFit.html
- [S14] viewFit 2014 and 2016: http://download.autodesk.com/global/docs/maya2014/en_us/CommandsPython/viewFit.html , https://help.autodesk.com/cloudhelp/2016/ENU/Maya-Tech-Docs/CommandsPython/viewFit.html
- [S15] viewFit 2020 and 2022: https://help.autodesk.com/cloudhelp/2020/ENU/Maya-Tech-Docs/CommandsPython/viewFit.html , https://help.autodesk.com/cloudhelp/2022/ENU/Maya-Tech-Docs/CommandsPython/viewFit.html
- [S16] viewFit 2023 and 2024: https://help.autodesk.com/cloudhelp/2023/ENU/Maya-Tech-Docs/CommandsPython/viewFit.html , https://help.autodesk.com/cloudhelp/2024/ENU/Maya-Tech-Docs/CommandsPython/viewFit.html
- [S17] Camera navigation, 2016 (search hit): https://help.autodesk.com/cloudhelp/2016/ENU/Maya/files/GUID-941480C1-9BDA-4DB3-8EA8-113A0D6FAF1F.htm
- Lingua principale
- Rust
- Stelle
- 4
- Fork
- 2
- Merge medio
- 16h 19m
- PR unite (30g)
- 196
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cristim/AztecCraft
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
cristim/AztecCraft#384 ·
I maintainer di solito rispondono entro 1 giorno
-
area/infra effort/s impact/internal priority/p3 severity/low triaged type/docs urgency/this-quarter
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
cristim/AztecCraft#372 ·
I maintainer di solito rispondono entro 1 giorno
-
A refused multi-object Delete does not name the refusing nodeForse già presa @RafaelMendes1407 l’ha presa 6 giorni fa. Apertaarea/mcp area/modeling effort/s impact/few priority/p3 severity/low triaged type/bug urgency/this-quarter
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
cristim/AztecCraft#336 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/mcp area/scripting area/ui-parity effort/m impact/many priority/p2 severity/medium triaged type/feature urgency/this-quarter
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
cristim/AztecCraft#391 ·
I maintainer di solito rispondono entro 1 giorno
-
area/mcp area/scripting effort/m impact/many priority/p2 severity/medium triaged type/feature urgency/this-quarter
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
cristim/AztecCraft#390 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di cristim/AztecCraft
Issue simili
-
area/tools bug session-analysis
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
oracle/rust-oracledb#66 ·
-
p3 testing
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
respanai/respan-gateway#166 ·
I maintainer di solito rispondono entro 1 giorno
-
fixes
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
astral-sh/ruff#30076 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno