Closed sh8 closed 2 months ago
Thanks for figuring out this issue! I could not understand the purpose of the first line of modifictions. Please see my comments above.
Since self.xyzb(depth, nempty=True)
gives unnormalized points in the range of [0, 2^d], you have to rescale it to obtain correct xyz. I think that overriding the rescale argument is a bit ugly, but less confusing for users.
Yes, you're right! I deleted L.497 accordingly
Thank you so much @sh8 , I have merged the pull request.
Hi!
Thank you so much for the great work! I fixed a bug in octree.to_points() which does not rescale the coordinates of xyz correctly when self.points[self.depth] is None. Could you please check the code and merge it if this change looks good to you?
Thanks!