(self, xyz)
| 69 | return rgb |
| 70 | |
| 71 | def get_sdf(self, xyz): |
| 72 | # xyz = (xyz - self.bound[:, 0].to(xyz.device)) / self.max_dis.to(xyz.device) |
| 73 | xyz = (xyz - self.bound[:, 0].to(xyz.device)) / self.bound_dis.to(xyz.device) |
| 74 | sdf = self.hash_sdf_out(xyz) |
| 75 | return sdf |
| 76 | |
| 77 | def get_values(self, xyz): |
| 78 | # xyz = (xyz - self.bound[:, 0].to(xyz.device)) / self.max_dis.to(xyz.device) |