Per poly to per point

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Post Reply
Victorcg
Posts: 91
Joined: 26 Jun 2009, 10:59

Per poly to per point

Post by Victorcg » 21 Jan 2012, 22:43

Hello.
I need to transfer custom attribute from polys to corresponding vertices. How can I do it?
Thank You.

Chris_TC
Posts: 411
Joined: 22 Mar 2010, 17:43

Re: Per poly to per point

Post by Chris_TC » 21 Jan 2012, 23:51

A vertex typically belongs to several polygons. Which one should it inherit the value from?

Get Data self.VertextoPolygons returns an array of all polygon indices the vertex belongs to. If you build an array from your per-polygon data set, you can select the relevant index in it.

Post Reply

Who is online

Users browsing this forum: No registered users and 64 guests