DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Rendering Engine Sample
Note
SW Release Applicability: This sample is available in both NVIDIA DriveWorks and NVIDIA DRIVE Software releases.

Description

The Rendering Engine sample demonstrates how to draw various primitives such as points, lines, triangles, ellipses, boxes, arrows, plots, grids, and images both in 2D and 3D space. The purpose is to add an easy way to draw these primitives.

All rendering states - font, color, line size, point size, projection and ModelView matrices - are tile based. This means that anytime the render engine is used for rendering it will render into a tile which is either part or all of the viewport.

Running the Sample

The command line for the Rendering Engine sample is:

./sample_render_engine

Output

The sample creates a window and displays several tiled sections of the window with different rendered primitives.

sample_render_engine.png
Render Engine Sample

Additional information

For more details see Renderer Engine Workflow.