Skip to content

patrikholler/Unity-Simple-Octree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages