fullseye

mesh_to_points — 3D transform op

使い方

mesh(頂点+面)→ 表面点群(面積重み一様サンプリング)。mesh→point cloud 変換。

手順: 三角形 tri = vertices[faces] の面積 0.5·|(b−a)×(c−a)| を確率にして samples 個の面を復元抽出し、各面で u, v ~ U(0,1)u + v > 1 なら (1−u, 1−v) に折り返す (一様 barycentric)。点 = a + u(b−a) + v(c−a)seeddefault_rng を固定するので 同じ引数なら同じ点群。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(points を入力に取れる)

points_to_voxel · gaussians_to_voxel · estimate_point_normals · to_points · match_points_ncc · match_pca · moment_axes · icp_point2point_3d

同カテゴリ(transform)

points_to_voxel · gaussians_to_voxel · mesh_to_voxel · depth_to_points · voxel_to_mips · voxel_to_mesh · tsdf_from_depth · signed_distance_field


Provenance: match3d.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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