Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.14.77 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Rendering Engine Sample

    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.

    Render Engine Sample

    Additional information

    For more details see Renderer Engine Workflow.

    人人超碰97caoporen国产