============= Tutorials ============= .. _rst_cpp_tutorials: -------- C++ -------- All source code (C++) tutorials can be found in the *tutorial* subdirectory. The tutorials are usually associated to a namespace and are to be found in the various subdirectories agx, agxCollide, agxOSG, agxSDK,... A new tutorial is added by creating a source code file named tutorial_X.cpp/(tutorial_X.h) which will automatically be picked up by the build system and added to the target build. Common to all tutorials in the agxOSG directory is the **ExampleApplication** class which encapsulates functionality for capturing keyboard events, creating example scenes etc. These tutorials are all built around different "scenes". The current scene can be selected at run-time with keyboard presses (0...9, F1-F10) or via a command-line argument: --scene [1...] .. _rst_python_tutorials: -------- Python -------- Many examples and tutorials are available also as Python code. This is a good way of learning how to use the AGX Dynamics API as it allows for quick changes/reloads without needing to compile/link C++ code. - `Python tutorials <../../main/python_tutorials.html>`_ - `Python AGX Terrain tutorials <../../main/python_agxTerrain_tutorials.html>`_ - `Python AGX Granular tutorials <../../main/python_granular_tutorials.html>`_ - `Python AGX Wire tutorials <../../main/python_wire_tutorials.html>`_ - `Python Demos and examples <../../main/python_demos.html>`_ - `Python AGX Terrain Demos <../../main/python_agxTerrain_demos.html>`_ - `Python AGX Machine Learning Demos <../../main/python_ml_demos.html>`_ - `Python AGX ROS2 Examples <../../main/python_ros2.html>`_