Quick guide to agxViewer:
| Key |
Description |
| Numeric keys, function keys |
Select scene |
| '1' |
Reload the first scene (or first file if several files are
given as arguments for agxViewer). |
| e |
Play/pause simulation |
| f |
Toggle fullscreen |
| g |
Toggle debug rendering |
| i + left mouse |
information about selected body |
| v |
gravity points towards screen down |
| w |
circle between osg shading modes |
| x + left mouse |
remove selected body |
| F |
Toggle text debug rendering. |
| G |
Toggle OSG rendering |
| H |
Print help screen to console |
| return |
Shoot sphere in camera direction |
| drag left mouse |
rotate camera |
| drag mid mouse (press wheel) |
pan camera |
| mouse wheel up/down |
adjust camera movement speed |
| left ctrl + drag left mouse |
add temporary ball joint to selected body |
| left ctrl + drag mid mouse |
add temporary lock joint to selected body |
| left ctrl + drag right mouse |
add temporary lock joint resetting rotation to selected body |
| left alt + drag left mouse |
move selected body/geometry (no dynamics) |
| left alt + drag right mouse |
rotate selected body/geometry (no dynamics) |
| space |
Reset camera to view all objects |
| esc |
Quit |
Arguments to agxViewer:
For more details, see the AGX User Manual (PDF).
| --useShadows |
Enable shadows. |
| --shadowMethod <int> |
Specify shadow method, 1-soft, 0-standard. |
| --startPaused |
Start the simulation paused (continue with 'e'). |
| --stopAfter <X seconds> |
Step forward system until we reach X seconds in simulation
time, then exit. |
| --agxOnly |
Only step AGX, no graphics. When combined with --stopAfter,
will step through simulation as fast as possible and print out
the complete wall time after finishing. |
--vSync <1/0>
|
Enable/disable vsync against the display rate. This will
override the setting in the driver.
|
--help
|
Show all available arguments.
|
--timeStep <float>
|
Set the time step used in the simulation (default 1/60).
|