Skip to content

Commit 0622e06

Browse files
docs - Add Camera Solver tool docs.
1 parent bd7a0fb commit 0622e06

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

docs/source/tools_cameratools.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,55 @@ To run the tool, use this Python command:
9090
9191
import mmSolver.tools.setcameraoriginframe.tool as tool
9292
tool.main()
93+
94+
95+
.. _camera-solver-tool-ref:
96+
97+
Camera Solver
98+
-------------
99+
100+
The `Camera Solver` tool reconstructs animated camera motion and
101+
static 3D bundle positions "from scratch" - using only 2D marker
102+
tracks and the initial camera and lens distortion settings.
103+
104+
See :ref:`camera-solver-overview-heading` for a detailed technical
105+
overview.
106+
107+
Usage:
108+
109+
1) Select a camera, or activate a camera viewport.
110+
111+
2) Ensure `Markers` are parented under the camera with 2D track data.
112+
113+
3) Open the `Camera Solver` UI and press `Solve`.
114+
115+
- The solve runs as a background process; Maya remains interactive.
116+
117+
4) When the solve has finished, press `Load Solved Camera` to apply the
118+
results to the camera and bundles in the scene.
119+
120+
To open the Camera Solver UI, use this Python command:
121+
122+
.. code:: python
123+
124+
import mmSolver.tools.camerasolver.tool as tool
125+
tool.open_window()
126+
127+
To run the solve and load results without the UI:
128+
129+
.. code:: python
130+
131+
import mmSolver.tools.camerasolver.tool as tool
132+
133+
# Run the camera solve with current settings, and wait for the
134+
# solve to complete, and then load the solved camera.
135+
#
136+
# NOTE: Users can press the ESC (Escape) key while the solver runs
137+
# to stop the solve.
138+
tool.run_camera_solve_and_load()
139+
140+
# Or, only run the solve (asynchronous - returns immediately).
141+
tool.run_camera_solve()
142+
143+
# After the solve completes, load the results.
144+
tool.load_solved_camera()

0 commit comments

Comments
 (0)