How to get point position of a point cluster?

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
dwigfor
Posts: 395
Joined: 17 Nov 2009, 16:46

How to get point position of a point cluster?

Post by dwigfor » 31 Dec 2011, 03:04

How can I get the point position of a point cluster (1 point in the cluster)? Hoping that I can shape animate my object, and then later get the point position of a 'tagged' point to use in some other math calculations.

Thanks,
-Dave

User avatar
dwigfor
Posts: 395
Joined: 17 Nov 2009, 16:46

Re: How to get point position of a point cluster?

Post by dwigfor » 31 Dec 2011, 03:49

Think I posted too quickly....

Pointcluser.IsElement -> Filter (Keep) -> (Output is 3d vector)
Get Point Position -> (value)

Note, This doesn't take into account an object's SRT.

User avatar
dwigfor
Posts: 395
Joined: 17 Nov 2009, 16:46

Re: How to get point position of a point cluster?

Post by dwigfor » 01 Jan 2012, 18:13

In case anyone was interested, I found that I needed one extra node so that it changed from Per point to Per object context....

Get Data (PointCluster.IsElement) -> Filter (Keep) ->Get Maximum in Set ->
_____________Get Point Position ->Filter (value)

(Edit: Wish this allowed me to keep blank spaces..... I added underscores to try not to confuse; Get PointPos plugs into Filter.)

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: How to get point position of a point cluster?

Post by Hirazi Blue » 01 Jan 2012, 19:00

The code tags do (more or less) preserve the spaces:

Code: Select all

Get Data (PointCluster.IsElement) -> Filter (Keep) ->Get Maximum in Set ->  
           Get Point Position ->Filter (value)
;)
Stay safe, sane & healthy!