svox2 icon indicating copy to clipboard operation
svox2 copied to clipboard

to_svox1 data is not sorted acording to links

Open mbaradad opened this issue 1 year ago • 2 comments

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.

mbaradad avatar Jun 29 '23 15:06 mbaradad

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.

image

mbaradad avatar Jun 29 '23 18:06 mbaradad

what I get with the previous procedure without the commited lines is: image

mbaradad avatar Jun 29 '23 20:06 mbaradad