Skip to content

A QuadTree LOD with a custom culling for real sized planet

Notifications You must be signed in to change notification settings

Hpn4/PlanetQuadTreeLOD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Planet QuadTree LOD

This project is a QuadTree LOD for planet like object. The script is configurable in the editor. You can add as many level as you want and you can specify when to switch level. There is also a custom culling that will discard chunk that does not need to be rendered.

I also added a small FBM generator to create a rough shape.

Demo

Here an animation of the QuadTree in action. I also added a small FBM to show that cracks does not appear inside a face. A SampleScene is given if you would like to test.

LOD

How to use

Simply add the Planet script to a gameobject. You can change the radius, the resolution of a single chunk, the number of level...

Settings

Limitations

All the calculation are done on CPU side. Also, some cracks may appear at the border of faces when they are different level resolution.

About

A QuadTree LOD with a custom culling for real sized planet

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages