A place to talk about CG particles...
login.php?sid=7123d35b6c2c8cd4e79395e5a1479715 profile.php?mode=register&sid=7123d35b6c2c8cd4e79395e5a1479715 faq.php?sid=7123d35b6c2c8cd4e79395e5a1479715 memberlist.php?sid=7123d35b6c2c8cd4e79395e5a1479715 search.php?sid=7123d35b6c2c8cd4e79395e5a1479715 index.php?sid=7123d35b6c2c8cd4e79395e5a1479715

Orbaz Technologies Forum Index » Particle Flow Tools: Box#3 » Particles / Number of neighbors subop question
Post new topic  Reply to topic View previous topic :: View next topic 
Particles / Number of neighbors subop question
PostPosted: Thu Nov 14, 2013 7:55 pm Reply with quote
BobDyce
Joined: 17 Sep 2013
Posts: 5




Hello,

I am new to Box3 and I am trying to build a system that cruises along a surface, branching and leaving 'still' particles behind. Something like the bloodmoon example, but simpler.

I have an event with the lead particle(s) that cruise along the surface, occasionally spawning/splitting/branching. I have and another spawn op that dumps into a new event which leaves particle trails behind with no speed - creating a line of particles indicative of where the lead particles have been.

What I would like help with is a data test that kills the lead particles if they cross the trail. I have tried with a data test that looks for neighbors - the throught being if it test true to more then 1 particle within the very small trail particle step distance, then the lead must be about to cross the train and must die.

Problem is that I cannot figure out how to test the lead against a neighbor in a different event. Seems simple enough, but I am total noob!

Any Ideas?

Thanks,
Bob Dyce



BranchingTest_010108.jpg
 Description:
 Filesize:  140.47 KB
 Viewed:  3562 Time(s)

BranchingTest_010108.jpg



BranchingTest_01.max
 Description:

Download
 Filename:  BranchingTest_01.max
 Filesize:  408 KB
 Downloaded:  357 Time(s)

View user's profile Send private message
PostPosted: Fri Nov 15, 2013 3:51 pm Reply with quote
BobDyce
Joined: 17 Sep 2013
Posts: 5




I've tried to go about this a different way:

Could I measure the distance between the lead particles and the old trail particles and if it's less than some amount, it tests true and moves the lead particles to a new event?

I have a screenshot of my box3 flow...but it's not currently working.
What I need help with is bringing in the particle position from a different event (the old trails) to compare against the lead particles.

Any help would be greatly appreciated.

Thanks,
Bob Dyce



Box3_Question_01.jpg
 Description:
 Filesize:  325.52 KB
 Viewed:  3537 Time(s)

Box3_Question_01.jpg


View user's profile Send private message
PostPosted: Mon Nov 24, 2014 7:32 am Reply with quote
jumax
Joined: 12 May 2010
Posts: 21




Hey

I was wondering if you ever solved this problem. I am trying to do a similar thing as well. I was just hoping to stop the leading particles when they come close to the trails.
View user's profile Send private message
PostPosted: Tue Nov 25, 2014 9:12 am Reply with quote
nickolay411
Joined: 12 Jan 2009
Posts: 296
Location: LA




Hey Jumax,

i think we solved this one over at the cgsociety forums a while back. But I can't find it but maybe you can do a search over there.

Generally speaking for your case, you need to check their distance to the particle and also if your trail is static, you can check their speed.

So a boolean function of AND, piping in less than distance and a less than speed should give you a proper true testing result.

Cheers,
Nickolay
View user's profile Send private message AIM Address
PostPosted: Tue Nov 25, 2014 10:13 am Reply with quote
jumax
Joined: 12 May 2010
Posts: 21




Thanks for the tip. I have found it now.
View user's profile Send private message
Particles / Number of neighbors subop question
Orbaz Technologies Forum Index » Particle Flow Tools: Box#3
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Copyrightę 2004-2005 Orbaz Technologies, Inc. All rights reserved.
Powered by phpBB © 2001, 2005 phpBB Group
phpBB Style by Vjacheslav Trushkin