Representation of intervals: Will there be a better way to represent the coverage intervals of the children? center and radius? other?
I did a test calculating the membership of the interval without using the bit mask array, but it is noticeably slower
It is possible to take advantage of the coherenc…
Some points that were pending.
The format of the octree can be multilevel, keeping, instead of the color, the address of the octree that follows it, and if the octree that continues is the same, then it will be infinitely recursive, get to do a test of this and it worked.
In the first versions of thi…
Among the data that are prepared before rasterizing are the masks in X and Y for each coordinate, the limits in X and Y the shortest length and the distance from the origin to the child rectangle, array of sums.
This algorithm traverse the rectangle that the cube occupies and calculates for each poi…
In the previous version of this algorithm, the way to level down in the octree was to maintain the arrangement of sums and masks for each level, calculating these numbers by dividing by 2.
In the current version there was an improvement in this aspect, instead of calculating for each level these val…
As always, there are many ways to save a figure composed of voxels in an octree.
The version I use has the advantage that, as it is stored on disk, it works when it is loaded into memory, that is, it does not need any processing.
As a disadvantage it can be seen that it is not possible to modify it d…
see the following image…
children mask
The voxels are contained in an octree, this is an 8-leaf tree, each leaf being an eighth of the cube containing each node.
In the image you can see the cube of the root of the octree, the algorithm will draw the voxels inside this isometric cube.
The color…
First I would like to point out the context in which I face this development.
Find and develop a language to learn to program ColorForth. I am accidentally a developer of a programming language.
I am always interested in the development of graphic technology and as a way to advance the language I beg…