Install the OPENGL module

OpenGL support module for Chrono.

Compared to the IRRLICHT module this provides a lower-level access to real-time 3D visualization and a more limited set of visualization features, but it uses less resources and it can be useful in case of large amounts of objects.


The OPENGL module is used for showing simulations in a OpenGL view.


  • To run applications based on this module you need:
  • To build this module you need:

Building instructions

  1. Download and install these libraries (depending on the platform, the process can be different)
  2. Repeat the instructions for the full installation, but when you see the CMake window, you must add the following steps:
  3. Set the ENABLE_MODULE_OPENGL as 'on', then press 'Configure' (to refresh the variable list)
  4. Set all the values for GLM_..., GLEW_..., GLFW_... to proper directory / file values.
  5. Press 'Configure' again, then 'Generate', and proceed as usual in the installation instructions.
Most demos and tutorials do not use this module for visualization, as they use the IRRLICHT module, which is easier to use, and at a more advanced stage of development.

MacOS issues

You can configure and build this module on the Mac, but due to malconfigured shader programs you cannot run it.