sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.79k stars 360 forks source link

to_svox1 data is not sorted acording to links #124

Open mbaradad opened 1 year ago

mbaradad commented 1 year ago

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 commented 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.

image

mbaradad commented 1 year ago

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