Add near plane to NGP sampler (#443)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2022-09-15 17:42:42 -07:00
1 parent 1492f84930
commit 695d9a1777
4 files changed
+14 -7

No files matched your search

+2
View File
@@ -407,6 +407,8 @@ class CompoundModelConfig(ModelConfig):
field_implementation: Literal["torch", "tcnn"] = "tcnn" # torch, tcnn, ...
loss_coefficients: Dict[str, float] = to_immutable_dict({"rgb_loss": 1.0})
num_samples: int = 1024 # instead of course/fine samples
cone_angle: float = 0.0
near_plane: float = 0.5
@dataclass