Hello,

Currently I am trying to understand SVO, Morton code etc. a little bit more. In regards to Morton Code I have to open question in my mind and I hope somebody can point me in the right direction.

From my understanding, by interleaving I have translated my coords into an morton code. This morton code represents the nth cell of the Z Curve ordering.

So my first question is:

Assume I have a 10x10x10 grid and for each grid position I am calculating the morton code - in my case an uint64. How can I link the morton code to one of the grid cells (10x10x10) grid. I guess that should be easy since I know the morton code which represents it position, I know my grid dimensions. Any way to do that easily with morton?

My second question is more about octree, svo and Morton code in them.

Based on Z Curve ordering, we know for each layer node the parent node based on Z Curve ordering on the next level. The question is more is there an formula to calculate it?

I read a lot of papers, but none explain the calculation in details. The all just claim its trivial. I guess not trivial for me.

For reference these are some of the papers I have read:

http://research.michael-schwarz.com/publ/2010/vox/

https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.306.9501&rep=rep1&type=pdf

Any help and/or tip is really appreciated.