Updated Defining volumetric models (markdown)

mikeprimm 2013-11-28 07:42:35 -08:00
parent f0be85ca63
commit d7ffdb03a9
1 changed files with 1 additions and 1 deletions

@ -1,4 +1,4 @@
Voumetric models are intended to provide a relatively convenient way to produce relatively complex shapes. The application of textures to the volumetric models follow the same pattern as is done for simple cubes and for [cubiod models](Defining-cuboid-models) - the texture for each of the 6 faces is applied to the corresponding side of any of the subblocks within the model, with the texture scaled to the full size of the cube face. Consequently, the texture definitions in the [[Texture Definition Files]] are defined in the same way as for simple solid blocks and for [cubiod models](Defining-cuboid-models).
Volumetric models are intended to provide a relatively convenient way to produce relatively complex shapes. The application of textures to the volumetric models follow the same pattern as is done for simple cubes and for [cubiod models](Defining-cuboid-models) - the texture for each of the 6 faces is applied to the corresponding side of any of the subblocks within the model, with the texture scaled to the full size of the cube face. Consequently, the texture definitions in the [[Texture Definition Files]] are defined in the same way as for simple solid blocks and for [cubiod models](Defining-cuboid-models).
The volumetric models are based on dividing each dimension of the block by a provided constant (the *scale*), which can be any power-of-2 up to 16 (1, 2, 4, 8, or 16). This results in the cube being divided into a set of cubes, each of which is 1/*scale* x 1/*scale* x 1/*scale*. The model is then defined by indicating which of these smaller blocks are filled by the model versus being empty.