Irrlicht Visualization (Run-Time)

The Irrlicht rendering engine has been the main Chrono rendering system for real-time applications since a long time. Because of this, the irrlicht::ChVisualSystemIrrlicht wrapper for the Irrlicht engine is currently offering the widest set of features among all the rendering engines, including real-time information about the underlying problem size, simulation options and timing, various flags to enable the rendering of link frames and forces, contact reactions and much more.

Also the MODAL module relies on Irrlicht to render mode shapes.

irrlicht::ChVisualSystemIrrlicht is in charge of creating the visualization window, including the info panel (button i).

A typical usage of irrlicht::ChVisualSystemIrrlicht, that includes a minimal lighting, camera and background, is:

auto vis = chrono_types::make_shared<ChVisualSystemIrrlicht>();
vis->AttachSystem(&sys);
vis->SetWindowSize(1024, 768);
vis->SetWindowTitle("Irrlicht Demo");
vis->Initialize();
vis->AddLogo();
vis->AddSkyBox();
vis->AddCamera(ChVector3d(0, 8, 6));
vis->AddTypicalLights();

Refer to irrlicht::ChVisualSystemIrrlicht documentation for further info.

Chrono::Irrlicht Reference

Chrono::Irrlicht Install Guide

ChVector3< double > ChVector3d
Alias for double-precision vectors.
Definition: ChVector3.h:283