ホームLastNewsICEICE Compound › Texture UV To Location ICEアドオン

Julian Johnson's Blog: Texture UV To Location

Texture UV To Location ICEアドオン

Land-Y
投稿者: Land-Y | 投稿日時: 2013-6-26 15:29
タグ: , , , , ,

http://julianjohnsonsblog.blogspot.jp/2013/06/texture-uv-to-location.html

Texture UV To Location

JULIAN JOHNSON'S BLOGより 

Softimage2013SP1(64bitのみ) C++ソースコード配布。


texture_uv_to_location.jpg

 


 

 

I was motivated by this thread on the mailing list (and Gustavo's excellent Motion Tools) to work on a C++ ice node to provide a quick way of finding positions from an input texture uv array (the factory-installed UV to Location node doesn't work on polygonal geometry). The method doesn't require triangulated geometry.

Since we don't have access to pointlocators in the ICE SDK,  the node doesn't actually get locations directly but it does generate a position on the polygonal surface from an input UV. The custom ice node is built into a compound that then takes the output positions and generates locations using Get Closest Location. You have the option of using the position directly or using the location port.

The addon is here for 2013 SP1 (64bit only) and contains C++ source code with comments on the barycentric and triangulation methods as well as notes on some of the problems/choices related to building a custom ice node. A sample scene is also included. If you find a circumstance where it doesn't work correctly I'd be very interested in the scene file. 

NewsTag

ホーム ニュース フォーラム UserBlog 道場Wiki
Powered by XOOPS Cube Legacy 2.1.7 2001-2009 XOOPS Cube Project
cvELD.net project [ Softimage & XSI道場 ] since 2004 1/1