From: softimag...@listproc.autodesk.com [mailto:softimag...@listproc.autodesk.com] On Behalf Of patrick nethercoat
Sent: Tuesday, March 13, 2012 12:57 PM
Subject: Re: ICE delete neighbouring particles
we don't even need the array, do we?
On 13 March 2012 16:17, patrick nethercoat <pat...@brandtanim.co.uk<mailto:pat...@brandtanim.co.uk>> wrote:
first thought (probs a better way?) put both IDs in an array > get array min or max > if == ID, delete point?
This is another way to delete particles overlaped.
I think, It is faster than using Sort Array. Also It's simply.
------ Original Message ------
Date: Wednesday, Mar 14, 2012 01:09:54 AM
From: Chris Marshall <chrisma...@gmail.com>
Subject: ICE delete neighbouring particles
Hello list,I have an ice cloud with many pairs of particles very close to each other. How can I delete just 1 of each of those pairs? What I'm finding is if I test the distance to neighbours and delete if they're closer than x amount, both particles get deleted, but I want to retain 1 of them.ThanksChris
Thanks will test it out if its faster it stays :)