4. World Definition Architecture

Description on the world definition objects and architecture

Introduction
In Voxel Play, a World is defined by a main object of type WorldDefinition: To create a new world you can duplicate the Earth folder and customize ...
Sun, 6 Jan, 2019 at 3:32 PM
World Definition Fields
Seed: the “magic” number that influences random generation. Use this value to replicate the world generation features (for example, the position of the tre...
Sun, 8 Aug, 2021 at 8:15 PM
Terrain Generators
Each World must have a Terrain Generator attached to the terrain generator field: The terrain generator component is responsible for providing basi...
Sat, 21 Aug, 2021 at 2:07 PM
Biomes
A biome defines which voxels are used for terrain painting as well as vegetation, trees and ores. Each biome can be applied to a range of "zones&qu...
Sat, 21 Aug, 2021 at 2:11 PM
Chunks
Imagine the world is divided in a 3D grid of 16x16x16 voxels. Each cell of that grid is called a "chunk" in Voxel Play. Chunks are positioned at ...
Tue, 4 Aug, 2020 at 11:31 AM
Chunk Lifecycle
A chunk represent a portion of the world. Each chunk contains a voxel[] array of 16x16x16 voxels. So a chunk represents an area of 16x16x16 meters in world ...
Wed, 12 May, 2021 at 9:23 AM
Voxels and Voxel Definitions
A voxel definition specifies the type of voxels your world will render. It's like a template for voxels and includes information like textures, render ...
Fri, 27 Aug, 2021 at 1:47 PM
Storing Data in Voxels
Voxel Play allows you to store/read custom user data on voxel positions. These values will be stored in the saved game file as well. You can use the fol...
Sun, 26 Dec, 2021 at 10:00 AM
Detail Generators
A detail generator is a ScriptableObject that contains code that adds or remove details on the world. Voxel Play provides two references for Detail Generato...
Wed, 23 May, 2018 at 10:34 AM
Model Definitions
A model is a collection of voxel definitions and/or colors inside a 3D volume. You can define model definitions: at design time or at runtime Mo...
Tue, 1 Jun, 2021 at 8:45 PM