vdb from polygonでvdbをアトリビュートから複数作る場合、順番によってどうやら範囲外の値の設定が変わるよう。
title
2017/09/15
2017/01/28
各プリミティブの中心に点作成
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float bound[] = primintrinsic(@OpInput1, "bounds", @primnum); | |
vector min = set(bound[0], bound[2], bound[4]); | |
vector max = set(bound[1], bound[3], bound[5]); | |
addpoint(geoself(),avg(min,max)); | |
removeprim(geoself(),@primnum,1); |
登録:
投稿 (Atom)