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-1.0.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

regOct-1.0.0-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file regOct-1.0.0.tar.gz.

File metadata

  • Download URL: regOct-1.0.0.tar.gz
  • Upload date:
  • Size: 11.6 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-1.0.0.tar.gz
Algorithm Hash digest
SHA256 20268ff5d754b47579aa117b1537098539776521141f4c5b06ebb6e684be83c3
MD5 2c814c2b0f14d897eed3ac4497db8390
BLAKE2b-256 c9489700407a2c24e0a0398e9c52d4738dbe490a8086e12142119b75683af39b

See more details on using hashes here.

File details

Details for the file regOct-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: regOct-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.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-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d8526d584ad1f26d403d09a934968b540c65192df7f4c3e395f37aa494210c6
MD5 5b7c51f323b8eb89b89d11df34d0f6b0
BLAKE2b-256 9829efcf1453773327d5f6e5225d3ddf0e359ebd46df1fc7c2e7c631d24fafd9

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