Render a moving object
This patch demonstrates how to render objects of both one and two-dimensions which move accross a display window.
This patch demonstrates how to render objects of both one and two-dimensions which move accross a display window.
This patch shows how to use gl objects in Jitter to fade the color of a rendered sphere between two values.
The OpenGL object jit.gl.gridshape allows you to create and render standard 3D geometrical shapes (cube, sphere, cone, etc.). It creates those shapes using a number of polygons attached together on a grid, thus its name. To make those objects look a bit more interesting—either more realistic or more unusual—you can apply a texture to the surface of the object. The visual content of the texture comes from a 2D image matrix (e.g., jit.matrix) which then gets wrapped around the object's surface.
This example shows how to create and render a 3D shape in OpenGL. You can read about the meaning of some of the different attributes in Jitter Tutorial 33: Polygon Modes, Colors, and Blending and in the Max reference manual listing of common attributes and messages of Jitter GL objects.