Sign in to follow this  
wh1sp3rik

Mesh Instances and Octree

Recommended Posts

wh1sp3rik    248
Hello :)
I would like ask, if you know any other good way, how to manage mesh instances like frustum culling, octree etc.

My idea is to make octree for every mesh

My octree dynamicly removes empty cells or creates new one, when mesh is inside that cell. Contains only mesh list, cell size,position,cell parent pointer and root pointer, so it should be relativly small.

When i want to render it, i will go though all visible cells and make an array with information about position a color then render it as instances.

What do you thing about this technique ?

Thank you very much ;-)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this