Skip to main content

A module implementing octrees for python

Project description

regOct

an implementation of an ordered octree system

Design principles

  1. Provide an effective, comprehensive storage medium for cubic, three-dimensional data.
  2. The order in which the commands are stored in the file imply the position at which they are executed.
  3. State checks within the octree are linear and processor unintensive.
  4. The Octree is a self-contained system. All information regarding the octree is stored in the file.

File Format (.onc)

The .onc (octree encrypted code) binary format is the file format of choice for this code. A octree can be loaded and saved to and from files using the python .octreeIO module.

Important Notices:

  1. Because the value contained in the octree is type-independant, what it represents is entirely dependant on the software interpreting it, so caution must be applied when loading a file.
  2. Points on the octree don't naturally store their coordinates, only where they are relative to the node above. These are automatically generated when calling map(), and are integers. If, for whatever reason, complex 3d data must be stored, then that must be done so as an attribute.

Visualisation:

The module has an interactable viewer to render octrees in 3d.

And now for something completely different

no one expects the spanish inquisition

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regOct-0.1.0.dev2.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

regOct-0.1.0.dev2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file regOct-0.1.0.dev2.tar.gz.

File metadata

  • Download URL: regOct-0.1.0.dev2.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for regOct-0.1.0.dev2.tar.gz
Algorithm Hash digest
SHA256 9e127fdac70b90b263f5d0450886250baa50c642d34bbf71feed40c242abd20e
MD5 f766f9678ac9cf6e6c5d62775d3e8261
BLAKE2b-256 d5e31d353eb658413651914acf77247b7f71013e465229f9876d7c9db683c967

See more details on using hashes here.

File details

Details for the file regOct-0.1.0.dev2-py3-none-any.whl.

File metadata

  • Download URL: regOct-0.1.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for regOct-0.1.0.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 406e80b41c92e03ec9f9db7b355b5a4a836782297c8c6d6f45b34df5b9a87511
MD5 32c392ebb55acff089a45ebdd1af2cc0
BLAKE2b-256 3df471709aac03450ecfe2f7511701d38d7a35504ef9ab9c8d42d1a37c283b23

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page