A newer version of Max is available. Click here to access the latest version of this document.

jit.gl.plato

Generate platonic solids

Description

The jit.gl.plato 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.

The shape attribute selects which of the five platonic solids are drawn: tetrahedron, cube, octahedron, dodecahedron, or icosahedron. As with most objects in the OB3D group, setting matrixoutput to 1 enables drawing via messages out the object's left outlet.

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

Attributes

Name Type g/s Description
shape int The Platonic solid to be drawn (default = 1 (tetrahedron)) The solid may by specified by name. The allowable names are tetrahedron, cube, octahedron, dodecahedron, or icosahedron.

The solid may alternately be specified by number: 1 = tetrahedron 2 = cube 3 = octahedron 4 = dodecahedron 5 = icosahedron

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.isosurf Generates a GL based surface extraction
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.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
Tutorial 34: Using Textures Tutorial 34: Using Textures