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.dev1.tar.gz (10.7 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.dev1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: regOct-0.1.0.dev1.tar.gz
  • Upload date:
  • Size: 10.7 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.dev1.tar.gz
Algorithm Hash digest
SHA256 7934a82234adff475a1919579babe3694c1b39f9484c9a0619fbc8a00f57440d
MD5 8bd96acaeb42f8a64b69089ba97d8ff9
BLAKE2b-256 878bc68344d5b981756cfc922238035da8ca24df57e2a8a72b2bd8920631daef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: regOct-0.1.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 876a5a224eab249ffa26161323252c81db4a790d8152534ef6d3181645247b4e
MD5 57b4646192040e9fe9cbf02ae9ec940b
BLAKE2b-256 0df5cc15795058cc10e6ec8edf015f613238cbce1b5b050a667631fbd62d4a2b

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