DLR Visualization LIBRARY 2
The DLR Visualization 2 library is a commercial Modelica library from DLR-SR providing an advanced model integrated visualization for Modelica models, especially in the mechanical, fluid and electrical area. The components are available for offline, online, and real-time animation and are usually attached to a Modelica model with a Frame connector of the MultiBody library. The library provides 100+ blocks for all kinds of different visualization applications and is commercially available via LTX. A free community version can be downloaded here on this site with this link:
FEATURES OF THE LIBRARY
- Parametrical shapes (boxes, spheres, gearwheels, springs etc.)
- CAD files (current formats: glb, 3ds, obj, stl)
- (Georeferenced) terrain databases
- Flexible surfaces with texture (image and video, render to texture of camera image)
- Flexible, free deformable CAD models
- Cameras, free movable or fully controlled by the simulation
- Multiple views on the scene, e.g. picture in picture
- Stereo view possible
- Fullscreen and multi-monitor support
- Support for OpenVR (HTC Vive, Oculus Rift) for effortless VR simulations
- 2D Overlays such as lines, polygons, textures
- Predefined elements such as graphs, maps and diagrams
- GUI elements such as buttons, slider, checkboxes, etc. for interactive simulations
- Visualization of energy/mass flow paths (straight line, curved, spline)
- Flow distribution networks (e.g. valves, pumps, junctions)
- Video export in the most common video formats as H.264, H.265, WMV and MPEG4
- Automatic video export / screenshots during after the end of the simulation
Usage of the Library:

Application Examples
The Visualization library allows the user to visualize complex multi-body and flexible body systems, such as robotic systems, vehicles, flexible beams, surfaces and freely deformable CAD bodies with a GPU based interpolation algorithm.
The example of the right shows a robotic assembly task of electric drives. The robot dynamics and the manipulation are simulated in Modelica using the DLR Robots and Manipulation 2 Library. Virtual cameras can be used for virtual commissioning of the imaging pipeline detecting the available parts. This work is part of the Factory of the Future project at DLR. |
Assembly task in the factory of the future |
It is possible to use large georeferenced terrain databases in the to visualize large scale landscapes for flight simulations. The terrain data is automatically rendered in efficient level of detail and loaded on demand by the visualization. In the video, the DLR Robotic Motion Simulator is used to perform a flight simulation. The pilot is sitting in the gondula attached to the robot arm and can view the visualized scenery either via stereo projectors in the gondula or with VR Glasses (see right video of virtual cockpit with HTC Vive). |
DLR Robotic Motion Simulator – Flight SimulationVR Simulation of Virtual Cockpit |
Driving simulations are another application for the visualization library at DLR. In the example, the DLR ROMO (more information) drives in different locomotion modes (longitudinal, lateral). This visualization is used at DLR to test the ROMO as hardware in the loop simulator, with the complete electronics and embedded controllers active (with exeption of the high voltage circuit for the drives). The example shows the usage of several cameras to emphasize different aspects of the simulation (top down view and focus on the suspension). |
DLR ROboMObil – HIL Simulator |
Together with the Streicher group a Drilling Rig training simulator has been developed. It allows to cut costs and to reduce the downtime of the real-world offshore drilling rig. All user interfaces are the same as in the real drilling rig operator cabin, as well the control software running on the plant / simulator SPS. This also allows the virtual commisioning and test of new control software. Instead of windows, nine displays are used for the operator cabin to provide the trainees an immersive virtual environment. The views are visualized with the DLR Visualizaton library and the viewpoints are calculated such that the perspective from the left or right chair is correct. |
Drilling Rig Simulator from Streicher |
The Visualization library can also be used to generate complex 2D layouts, for example instruments, graphs or interactive GUI. It is possible to place buttons, sliders, or checkboxes in order to control the simulation in realtime. The top example shows a simple primary flight display with artifical horizon, heading indicator and height indicator, used in the DLR flight simulator. On the bottom video, an experimental underwater glider (MOTH) from MARUM is simulated, where 2D overlays are used to indicate heading, diving depth or angle of attack. | 2D Overlays: Primary Flight DisplayUAV Glider from Marum |
The visualization library supports the display of large georeferenced terrain databases, up to the planetary scale. It also includes atmospheric effects to visualize the atmosphere around earth. In the DLR SpaceScenery library, models for planets and moons and space craft are available to be used for the simulation of orbital maneuvers. The second example video demonstrates the ability of the visualization to zoom from planetary scales to the ground level without loading screens. The used earth database consists of data sets with a texture resolution of 500 meter per pixel (NASA Blue Marble NG Data), and 80 cm per pixel data for the german province Bavaria (Bayrisches Landesvermessungsamt). The digital elevation model used is the SRTM data with a grid resolution of 90m. |
DLR SpaceScenery Library – ISSFlight to Earth |
With the visualization library it becomes possible to visualize energy or mass flows. Distribution networks with valves, pumps and junctions can be defined and simulated. The example video shows a visualization of the DLR ROMO brake system testbed, where the brake characteristics of the ROMO (more information) have been identified. The flow of the hydraulic fluid is visualized with flexible energy paths, defined via splines. |
ROMO HIL brake system testbed |