The retina library provides various classes that connect the fiber bundle data module within Vish (aka Fish) to the graphical world of OpenGL. More...
The retina library provides various classes that connect the fiber bundle data module within Vish (aka Fish) to the graphical world of OpenGL.
It provides the basic means to allow one to see the data in the fiber bundle model, which is the rationale to call this library the Fish's retina.
A basic class is the VertexField class, which can be seen as the CPU to GPU copy function. It provides an abstract interface to perform this copy operation for an array of data, which by itself form the fragments of a Field within the fiber bundle model.
Fish Render objects will rather be derived from higher level classes, such as the VFieldRenderObject or VertexRenderObject.
Render objects implementing a splatting technique by painting point sprites for each vertex of a Grid may derive from SplatRenderObject, Volume Rendering implementations may derive from base class Vitreous.
typedef Fiber::Fragment Wizt::VertexFragment |
Data structure describing all data available per fragment, which is a selection of createable data arrays.
The name selected here for the fragment data arrays has to match the definition in a vertex shader.