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.dev3.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-0.1.0.dev3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: regOct-0.1.0.dev3.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-0.1.0.dev3.tar.gz
Algorithm Hash digest
SHA256 4ea96588d15defd9a686001b33bb0e605f19138f4a236ac6fee7229e13a160a1
MD5 ea9f4924236ea698419f65271d7b774d
BLAKE2b-256 40362f4ddbf319f70a3fd297e6cf2a4808a8af1beb67b2c731e52da67d1a0a87

See more details on using hashes here.

File details

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

File metadata

  • Download URL: regOct-0.1.0.dev3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 0638f4bf643fff2619048054f2f06e741b30f252218d5c9e4226b8f1fd5f32cd
MD5 9c5c2a86ec001abd0d9e98e43019a55f
BLAKE2b-256 fe691b3561198ab2646804a7856aae1fef141ba9749e0827f830b301a80f83d6

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