jit.gl.isosurf

Generates a GL based surface extraction

Description

The jit.gl.isosurf object creates a geometric surface from a volumetric density field. The polygonization occurs at locations where the density values intersect the edges of cells inside a subdivided cartesian grid. The subdivided grid can be made of either cubes or tetrahedrons, each of which will produce different types of geometric artifacts which may result in a surface which is comparitively better or worse depending on the volume dataset being used.
The jit.gl.isosurf object requires one argument: the name of a drawing context. A named drawing context is a named instance of a jit.window, jit.pwindow, or jit.matrix object that has an instance of the jit.gl.render object associated with it. This value may also be set via the OB3D drawto attribute.

Information for Jitter 3D Object (OB3D) messages and attributes to this object

Attributes

Name Type g/s Description
autocolor symbol The autocolor mode for calculating vertex colors (default = normal) Supported modes are:
none
normal (normal direction)
sample (density values)
autonormals int Enables or disables the calculation of normal directions used for calculating lighting (default = 1).
dim int The dimensions of the subdivided grid (default = 20 20 20)
displaylist int Cache in displaylist flag (default = 0) This feature may be used to speed up rendering time by creating and storing a list of gl drawing commands on the graphics card. This will have no effect if matrixoutput turned on.
epsilon float The epsilon value used for determining the delta for sampling normal directions. (default = 0.12)
isolevel float The density threshold for constructing the surface. (default = 1.0)
mode int The mode of subdivision (default = cubes) Supported modes are:
cubes
tetra

Information for box attributes common to all objects

Examples

See Also

Name Description
jit.gl.graph Open GL floating-point data visualization
jit.gl.gridshape Generate simple geometric shapes as a connected grid
jit.gl.handle Use mouse movement to control position/rotation
jit.gl.mesh Generates GL geometry from existing data
jit.gl.model Read and draw Wavefront .obj models
jit.gl.nurbs Generate NURBS surface
jit.gl.plato Generate platonic solids
jit.gl.render Render Open GL
jit.gl.shader Manages a GL shader
jit.gl.sketch GL parallel to lcd
jit.gl.slab Performs a GL accelerated grid-based evaluation
jit.gl.text2d Write bitmap text
jit.gl.text3d Write vector text
jit.gl.texture Manages a GL texture
jit.gl.videoplane GL accelerated video plane
jit.gl.volume Creates a GL accelerated volume vizualization