This script compresses vertices data with the Morton order within a given boundary.
- Python3
- Ubuntu 20.04 LTS ( may be worked on other OS )
I abbreviate sudo comand.
# Python3
apt -y update
apt -y install libssl-dev libffi-dev python3-dev python3-distutils
apt -y install python3-pip
# Python modules
python3 -m pip install -U pip setuptools
python3 -m pip install numpy matplotlibgit clone https://github.com/cetusk/MortonGPCCI welcome to contribute such any pull request !
In current status, this script works on the Python environment. I'm planning to expand it by C++.
python3 run.py| Variable | Context | Default |
|---|---|---|
depth |
Level of detail such tree depth | 8 ( maximum ) |
dim |
Spatial dimension | 2 ( 2 and 3 are only supported ) |
x0, y0, z0 |
Minimum of boundary point | 0.0 |
x1, y1, z1 |
Maximum of boundary point | 100.0 |
numPoints |
Number of points sampled randomly | 100 |