mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-03 22:38:48 +08:00
Refactor ray samples
This commit is contained in:
1 parent
526db1eca6
commit
8a6b7c3e46
4 files changed
+81
-76
No files matched your search
@@ -179,7 +179,7 @@ class NeRFGraph(Graph):
|
||||
depth_coarse = self.renderer_depth(weights_coarse, ray_samples_uniform.ts)
|
||||
|
||||
# pdf sampling
|
||||
ray_samples_pdf = self.sampler_pdf(ray_samples_uniform, weights_coarse)
|
||||
ray_samples_pdf = self.sampler_pdf(ray_bundle, ray_samples_uniform, weights_coarse)
|
||||
|
||||
# fine field:
|
||||
field_outputs_fine = self.field_fine.forward(ray_samples_pdf.to_point_samples())
|
||||
|
||||
Reference in new issue
Block a user