Build Array from Per Point Data


The Build Array from Per Point Data compound is part of Phil's ICE Pack. It uses the NbPoints attribute and the ID to Location node to create a per-object array containing the point locations by ID. It works only if points are emitted (otherwise there's no ID) and only if points are not deleted (otherwise the total number of points does not correspond to the maximum ID).

You can look up data at the location array returned by the compound by plugging its output into a Get Data node. This is useful, for example, if you want to set data on a point based on data at the next or previous point ID.

The following scene uses Build Array from Per Point Data to create a simple follow-the-leader simulation: Follow The Leader (http://softimage.wiki.softimage.com/images/0/0e/FollowTheLeader_BuildArrayFromPerPointData.zip)

This page was last modified 03:59, 2 Oct 2010.
This page has been accessed 6300 times.

© Copyright 2009 Autodesk Inc. All Rights Reserved. Privacy Policy | Legal Notices and Trademarks | Report Piracy