How to Rotate a Vertex by a Quaternion in GLSL
0 Members and 1 Guest are viewing this topic.
HPMC is a small OpenGL/C/C++-library that extractes iso-surfaces of volumetric data directly on the GPU.The library analyzes a lattice of scalar values describing a scalar field that is either stored in a Texture3D or can be accessed through an application-provided snippet of shader code. The output is a sequence of vertex positions and normals that form a triangulation of the iso-surface. HPMC provides traversal code to be included in an application vertex shader, which allows direct extraction in the vertex shader. Using the OpenGL transform feedback mechanism, the triangulation can be stored directly into a buffer object.