Unityな日々(Unity Geek)

Unityで可視化アプリを開発するための試行錯誤の覚書

2013-01-26から1日間の記事一覧

KINET SDKを使う その2・スクリプト解析編

KINECT SDKを使う その1・環境設定編 - Unityな日々(Unity Geek)の続きKinectInterop.cs Kinectとのインターフェースを司どる最下層のスクリプト。public interfrace KinectInterface :Kinectとのインターフェース定義。実装はKinectSensor.csで定義され…

Meshの三角ポリゴンを反転する

http://wiki.unity3d.com/index.php?title=ReverseNormals http://forum.unity3d.com/threads/101018-How-do-I-get-the-normal-of-each-triangle-in-meshインポートした3DモデルのMeshを次のスクリプトで調べてみた。 print ("normals="+normals.Length+" t…