Author: Quinton Roberts (Eclipzer) Date: 07/16/06 Update: 06/05/08 Voxel - Vol-umetric pi-xel A voxel is a 3D extension of a pixel. Where pixels are 2D squares, voxels are 3D cubes. By stacking the cubes next to and on top of each other we can construct 3D models. The voxel, therefore, is our basic building block, similar to legos. Voxels let us explore a different method for 3D storage and rendering. VOXEL: VO-lumetric Pi-XEL VOXEL MODEL: 3D model constructed of voxels CONTAINMENT CUBE: A cube which containing the smaller cubes which comprise a voxel model. *every voxel is similar to its containment cube, therefore their vertices can be determined by interpolating across the back face edges of the containment cube. Visible Faces ------------- A solid cube can only display, at most, three of its six faces at any given time. Because every voxel is similar to its containment cube, the visible faces of each voxel will be identical to the visible faces of the containment cube. Rendering ---------------------------------------------------------------------------------------------------------- Since the only difference between the voxels in a voxel model is position and color, we can produce fast accurate rendering by rendering a single voxel to a buffer. We then draw the buffer for each voxel in the model, interpolating across the containment cube to determine position. Simply substitute the appropriate colors when rendering the buffer. By rendering cubes bottom to top, back to front, we don't have to worry about sorting the voxels. To improve rendering further, we can apply an alpha value at the buffer voxel edges. Other rendering methods include filled squares, rectangles and circles. Meta balls. Editing Models (2D) ------------------- Since a voxel model is a collection of similar cubes within a containment cube, the voxels naturally form 2D layers within the cube. These layers can be edited using convential 2D editing tools.