Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.31 KB

File metadata and controls

14 lines (10 loc) · 1.31 KB

alt text

Revit External Graphics

alt text

This library utilizes Revit's DirectContext3D API to be able to flush Vertex and Index Buffers to Revit, in order to draw external graphics to Revit Canvas. The solution contains Autodesk's RevitSDK sample for DirectContext3D but also contains my basic example as a tutorial code.

Vertex and Index Buffers

Understanding how Mesh structure works and how they are represented in Vertex and Index Buffers are the backbone of this API. Even if a user is not familiar with the low-level operations of the buffers, at least a basic understanding of what these buffers mean would help significantly to utilize the API. alt text

Diffuse, Ambient and Specular Colors

The colour maps effect how the graphics are displayed in the viewport. Especially, in shaded views normal vectors of the vertices are extremely important to properly render the shadings. alt text