Open mbaradad opened 1 year ago
With this, I can render from an Octree converted from a 64x64x64 fitted grid (without the modification, I get no image). Left is rendered from Grid, right is rendered from converted Octree.
what I get with the previous procedure without the commited lines is:
When reassigning the data from svox2 to svox1, it does not follow the link structure. Points and index are sorted according to link position, and sh_data/data is not. To make it match accordingly, data needs to be resorted using the pointers in links.