Skip to content

varolomer/DirectContext3DAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Implementation of DirectContext3DAPI in Revit to be able to draw graphics on RevitCanvas externally.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages