What is octree?
Octree is a digital tree structure used to create three -dimensional (3D) and polygonal creations, mostly for the gaming industry. In the Octree structure, each inner knot has no children or eight children-between-every child node is able to contain color information for the color profile of red-blue (RGB). The whole structure begins as one cube and empty inner cubes are used for collision information. This structure is a very effective memory because there is a relatively small amount of data in every child and the tree can be limited. One of the structures used in this industry is Octree. This name is sometimes called OCT tree and means the importance of number eight in this tree structure. Like tree structures, Octree has parental and children's nodes. Unlike other trees, RE is very small diversity in how many children's nodes can be made from the parent.
Every parent can include eight nodes nebo none. Both types of cube are important when creating a fully rendered model. The most demanding cubes are those with eight nodes. Each internal node contains information about color and texture, so the model can have a complex look. For example, if it is a tree model, each of the inner nodes must contain a brown color for the suitcase and shading of the information to create a realistic texture.
While cubes with eight nodes are important to Octree, empty cubes are equally important. The whole structure begins as one large empty cube that can be inhabited by other smaller cubes. This cube, along with other empty cubes, is used primarily for collision information. For example, if one model encounters this model, empty cubes will tell the model that it Cannot Advance because it creates a collision.
The creation of the right Octree model is intense and a lot of information goes, but the structure itself uses memory very efficiently. One of the reasons is that although there are a lot of coding, the infOrmation is only information about color and texture, and therefore rather small. Another reason is that the tree has different levels that hold unnecessary data, and if it is cut, the memory can be even more reduced.