Rawal Khirodkar commited on
Commit
b10b215
·
1 Parent(s): 345ebac

Pointmap: smaller radius (factor 0.7 → 0.5)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -262,7 +262,7 @@ def _make_glb(image_pil_texture: Image.Image, pointmap_hwc: np.ndarray,
262
  # Factor 1.0 → balls just kiss neighbours; 1.5 → distinct overlap.
263
  if len(pts) >= 2:
264
  extent_diag = float(np.linalg.norm(np.ptp(pts, axis=0)))
265
- r = max(extent_diag / np.sqrt(len(pts)) * 0.7, 1e-4)
266
  else:
267
  r = 0.005
268
 
 
262
  # Factor 1.0 → balls just kiss neighbours; 1.5 → distinct overlap.
263
  if len(pts) >= 2:
264
  extent_diag = float(np.linalg.norm(np.ptp(pts, axis=0)))
265
+ r = max(extent_diag / np.sqrt(len(pts)) * 0.5, 1e-4)
266
  else:
267
  r = 0.005
268