mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 11:46:40 +01:00
Updated Defining volumetric models (markdown)
parent
81a1d11c7e
commit
9ce1a9b34f
@ -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.
|
||||
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).
|
||||
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user