You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plotoptix/tkoptix.py
+22-6Lines changed: 22 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -25,18 +25,34 @@ class TkOptiX(NpOptiX):
25
25
26
26
Summary of mouse and keys actions:
27
27
28
-
- rotate camera eye around the target: hold and drag left mouse button
29
-
- rotate camera target around the eye: hold and drag right mouse button
30
-
- zoom out/in (change camera field of view): hold shift + left mouse button and drag up/down
31
-
- move camera eye backward/forward: hold shift + right mouse button and drag up/down
28
+
29
+
- camera is selected by default, double-click an object/light to select it, double click again to select a primitive within the object, double-click in empty area or double-right-click to select camera
30
+
- select parent mesh to apply transformations to all children as well
31
+
32
+
With camera selected:
33
+
34
+
- rotate eye around the target: hold and drag left mouse button
35
+
- rotate target around the eye (pan/tilt): hold and drag right mouse button
36
+
- zoom out/in (change field of view): hold shift + left mouse button and drag up/down
37
+
- move eye backward/forward (dolly): hold shift + right mouse button and drag up/down
32
38
- change focus distance in "depth of field" cameras: hold ctrl + left mouse button and drag up/down
33
39
- change aperture radius in "depth of field" cameras: hold ctrl + right mouse button and drag up/down
34
40
- focus at an object: hold ctrl + double-click left mouse button
35
-
- select an object: double-click left mouse button (info on terminal output)
41
+
- select an object: double-click left mouse button
42
+
43
+
With a light or an object / primitive selected:
44
+
45
+
- rotate around camera XY (right, up) coordinates: hold and drag left mouse button
46
+
- rotate around camera XZ (right, forward) coordinates: hold ctrl and drag left mouse button
47
+
- move in camera XY (right, up) coordinates: hold shift and drag left mouse button
48
+
- move in camera XZ (right, forward) coordinates: hold and drag right mouse button
49
+
- move in the normal direction (parallelogram light only): shift + right mouse button and drag up/down
50
+
- scale up/down: hold ctrl + shift + left mouse button and drag up/down
51
+
- select camera: double-click left mouse button in empty area or double-right-click anywhere
36
52
37
53
Keyboard:
38
54
39
-
- save image (no file dialog yet, saves to ``render_output.jpg`` now): F12
55
+
- save image: F12
40
56
41
57
Note: functions with the names ``_gui_*`` can be used from the
0 commit comments