VSG Visualization (Run-Time)

Based on VulkanSceneGraph (VSG), this run-time engine is currently under active development and promises to enrich the Chrono visualization with more advanced and modern visualization options.

Refer to vsg3d::ChVisualSystemVSG class for further info.

A typical usage of vsg3d::ChVisualSystemVSG, that includes a lighting, camera, and background, is:

auto vis = chrono_types::make_shared<ChVisualSystemVSG>();
vis->AttachSystem(&sys);
vis->SetWindowSize(ChVector2i(1200, 800));
vis->SetWindowPosition(ChVector2i(100, 300));
vis->SetWindowTitle("VSG Demo");
vis->SetUseSkyBox(true);
vis->AddCamera(ChVector3d(-8, 8, -16));
vis->SetCameraAngleDeg(40);
vis->SetLightIntensity(1.0f);
vis->SetLightDirection(1.5 * CH_PI_2, CH_PI_4);
vis_vsg->SetShadows(true);

Chrono::VSG Reference

Chrono::VSG Install Guide

ChVector3< double > ChVector3d
Alias for double-precision vectors.
Definition: ChVector3.h:283
ChVector2< int > ChVector2i
Alias for integer vectors.
Definition: ChVector2.h:227