supersample_mesh — 3D render op

Data kinds: meshimage2d

Call: import fullseye as fs; fs.ledger.supersample_mesh(V, F, pose=None, intrinsics=None, size=256, ss: 'int' = 3, light=(0.0, 0.0, 1.0), ambient: 'float' = 0.1, shade: 'Optional[Callable[[dict], np.ndarray]]' = None, filter: 'str' = 'box') -> 'np.ndarray' (to call the implementation directly, import render_ssaa; render_ssaa.supersample_mesh(V, F, pose=None, intrinsics=None, size=256, ss: 'int' = 3, light=(0.0, 0.0, 1.0), ambient: 'float' = 0.1, shade: 'Optional[Callable[[dict], np.ndarray]]' = None, filter: 'str' = 'box') -> 'np.ndarray'; from the registry, ops3d.get("supersample_mesh"))

Usage

Render a mesh anti-aliased by SSAA -> a float image `(H, W) (or (H, W, C)`).

> The detailed description below is the original text — the summary and the headings are translated.

`render_mesh を **目標サイズの ss 倍**で呼び、陰影を付けてから ss×ss` 面積平均で

目標 `size へ縮小する。ss=1 は縮小なし = render_mesh` 生の(エイリアスありの)

ベースライン。

*pose* は 4x4 object->camera 行列(解像度非依存、そのまま使う)。*intrinsics* `K` は

**目標 `size 用**の 3x3 ピンホール行列で、高解像レンダリングのため内部で `fx, fy,

cx, cy`ss 倍にスケールする(出力は目標 size` なので K の意味は目標基準)。

どちらも `None なら render_meshauto_view で自動フレーミングする(auto_view`

のフレーミングは解像度不変なので `ss` を変えても構図は同じ)。

*shade* は `shade(view_dict) -> (H*ss, W*ss[, C]) の callable で、高解像 render_mesh`

出力(`depth / silhouette / normals)を陰影画像へ写す。None` のとき既定の

Lambertian(*light* をカメラ空間の光源, *ambient* を環境光として法線から陰影, 背景 0)。

*filter* は縮小重み(`"box" / "gauss", :func:antialias` 参照)。

Fail-closed: `ss は 1 以上の整数、size は正、size*ss` の総画素は

`render3d.MAX_PIXELS 以下。メッシュ・カメラの妥当性は render_mesh` が検査する。

Background guides (the physics and conventions behind this op)

blender_interop — Blender との併用 — 形を作って fullseye で測る(軸・単位・正解データの罠)

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

render_ssaapy -3.11 examples_3d/render_ssaa.py

Ops the type connects to (they accept image2d as input)

fuse_to_voxel · fit_poly_surface · eval_poly_surface · surface_form_error · background_flatten · polar_unwrap · fit_zernike · matcap_shade

Same category (render)

project_points · render_point_depth · render_volume_projection · render_shaded · ambient_occlusion · cast_shadow · phong_shade · matcap_shade


*Provenance: render_ssaa.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.