fullseye

voxel_to_mesh — 3D transform op

使い方

voxel → mesh(marching cubes、skimage)。返り値 (verts, faces, normals)。voxel→mesh 変換。

skimage.measure.marching_cubes(vol, level=iso) の薄い包み(spacing 指定なし = 1 voxel 単位)。verts (V,3) float は voxel index 座標で、列は入力の軸順(vol が (D,H,W) なら (z,y,x))。faces (F,3) int は verts への index、normals (V,3) は skimage が 勾配から与える頂点法線。4 番目の返り値(values)は捨てる。

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

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

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

mesh_to_voxel · mesh_to_points · to_points · fuse_to_voxel · ambient_occlusion · cast_shadow · supersample_mesh · render_beauty

同カテゴリ(transform)

points_to_voxel · gaussians_to_voxel · mesh_to_voxel · mesh_to_points · depth_to_points · voxel_to_mips · 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.