mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
Correct MC rasterization pt. radius
Summary: Fixes the MC rasterization bug Reviewed By: bottler Differential Revision: D38312234 fbshipit-source-id: 910cf809ef3faff3de7a8d905b0821f395a52edf
This commit is contained in:
parent
14bd5e28e8
commit
0c3599e8ee
@ -838,7 +838,7 @@ class GenericModel(ImplicitronModelBase): # pyre-ignore: 13
|
||||
|
||||
# Estimate the rasterization point radius so that we approximately fill
|
||||
# the whole image given the number of rasterized points.
|
||||
pt_radius = 2.0 * math.sqrt(xys.shape[1])
|
||||
pt_radius = 2.0 / math.sqrt(xys.shape[1])
|
||||
|
||||
# Rasterize the samples.
|
||||
features_depth_render, masks_render = rasterize_mc_samples(
|
||||
|
Loading…
x
Reference in New Issue
Block a user