Skip to content

Customization Points

Stefan Zellmann edited this page Jan 2, 2016 · 8 revisions

Content of this page: C++ entry points that are intended to be overwritten with custom functionality.

Note that the current version of Visionaray is an early preview. At this stage, the framework, including the API, are likely to undergo frequent changes.

Visionaray's core functionality is designed based on the concepts of generic programming. Basic operations are implemented so that they are valid for a variety of data types. Visionaray provides implementations for a few data types that are assumed to be most commonly used, and that are optimized for high runtime performance.

Customization points serve as a means for the user to implement functionality such as user-defined geometric primitives or materials, intercepting traversal and intersection routines, or deriving surface properties such as texture coordinates or normal vectors.

The following list gives an overview of classes and functions that are customization points that are intended to be specialized by the user.

Customization points for user-defined primitives:

Customization points to intercept existing traversal and intersection routines: