Unity-Simple-Octree icon indicating copy to clipboard operation
Unity-Simple-Octree copied to clipboard

Simple Octree for Unity with Job System

Unity Simple Octree

I started to create it for voxel planet game. If you interested in voxel technologies join us: https://discord.com/invite/aegudcbYhr (http://voxelbased.com)

octree

Usage

  1. Unity Engine version: 2020.3.1f1
  2. Packages:
    • using Unity.Collections
    • using Unity.Jobs
    • using Unity.Burst
    • using Unity.Mathematics
  3. Switch gizmo on

Known problems

https://forum.unity.com/threads/voxel-planet-octree-job-system-ecs-dots.1083410/

  1. I do not feel it is the best solution to call the job every seconds and create octree nodes from 0 to max lod level again and again.
  2. It will be better to use IJobParallelFor

License

MIT