Voxels with Particle Flow

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 10 October 2012   #1
Voxels with Particle Flow

With the new Particle Flow Op's in 2013 - how do you go about turning on and off a static particle based upon its intersection with another object. I'm looking to create a voxel effect by passing an object through a grid based particle system.

Changing its state is easy enough with a Group Selection - but how can you change it back.

There are Tut's out there but they involve Frost or Krakotoa etc. Can this now be done without addition plugin's ?


Edit : This has double posted for some reason please delete one.
Renderfarm hire available @ www.hotknife.co.uk
Old 10 October 2012   #2
Maybe just scale it to 0% or 100% based on being inside/outside your geometry.
Old 10 October 2012   #3
You have two options if you are using a static mesh:
Create a Birth Grid and use the mesh culling feature

You can use Box#3 Data Op (the advanced data ops) to check for outside of the object (boolean test) then either delete the particle (static mesh) or turn the particles visibility to false (animated mesh).

Hopefully you have a "Suite" license so you can access the Box#3 ops. Because we all know you need to buy a Suite to get application specific plugin.

Baring that I think you are in for some painfully slow script ops because the Box#3 method was painfully slow on an animated mesh, I can't imagine how slow a scripted op setup would be (if you could even pull it off)

Give a few minutes, I need to install some plugins, I have been battling a new machine here for the better part of two weeks, and I will post an example for you.
poof ~>Vimeo<~
Old 10 October 2012   #4
I using a moving Mesh unfortunately, I don't have the suite either.
I'm using a Group selection and spilt group to scale the particles from 0 to 100 and once they've left the Mesh I can scale them back down again.

The problem comes when the mesh moves back over a particle that has been affected it stops responding. I'm assuming a loop somewhere in the flow would help but PF is not my strong point would help !
Renderfarm hire available @ www.hotknife.co.uk
Old 10 October 2012   #5
Here is example with box3 ops.

And here is preview:

Mesh is animated and overall perfomance is quite good.

As for scripting all this i think it will be VERY slow.
Old 10 October 2012   #6
Ok think I've got my head around it : this with Max 12..
Was sure I'd tried this method before without success but here we go.

Now then any ideas on controlling the colour of the voxels?
Attached Files
File Type: zip voxelier working.rar.zip (27.2 KB, 10 views)
Renderfarm hire available @ www.hotknife.co.uk
Old 10 October 2012   #7
You don't need Event 006. Just delete it and Send out op.

Otherwise you will have "blinking" particles.

And what do you want to do with color?
Old 10 October 2012   #8
That really seems overcomplicated.

Birth grid, data op, a shape, and a display.

Add a cache to speed up playback.

I included the preset, it is super simple too, Select Object, Geometry+Inside Object, Function + Not, Output Standard Visibility. It should work as a Data preset in max 2013 if you want to try.


EDIT EDIT: Interesting approach 3ak, works nicely
Attached Images
File Type: png voxel.png (52.9 KB, 168 views)
Attached Files
File Type: zip Box3_Mesh_Visibility_Preset.zip (3.3 KB, 25 views)
File Type: zip max2011_PF_B23_VoxelOp.zip (81.5 KB, 24 views)
poof ~>Vimeo<~

Last edited by JohnnyRandom : 10 October 2012 at 09:02 PM.
Old 10 October 2012   #9
interestingly enough the setup in max2013 looks like that :(
Attached Images
File Type: gif box3_max2013.gif (86.2 KB, 56 views)
Old 10 October 2012   #10
Hmm, don't know it works just fine for me 2013 BUT I am using MassFX Box#2 operators and Box#3 Data ops instead of the silly locked up Advanced Data Manipulation business.
poof ~>Vimeo<~
Old 10 October 2012   #11
it's such a cluster f**k...

the answer is 42...and John

Last edited by PsychoSilence : 10 October 2012 at 04:14 AM.
Old 10 October 2012   #12
Now back at work.

All great - thanks guys - the Box #3 stuff works but I can't edit it as I'm a low 3ds Max 2013 Sub's guy only - No Suite Subscription for me ....!! (The Subscription deal is now starting to bite and F me off)

Thanks 3ak that does help (maybe it's my laptop but I'm sure last night at home I needed the loop for it to update - obviously wrong ) - I've included my final Flow for anyone that stumbles this way.

Edit : Colour would be nice to take from the intersection Object some way !!
Renderfarm hire available @ www.hotknife.co.uk

Last edited by hotknife : 10 October 2012 at 09:02 AM.
Old 10 October 2012   #13
Originally Posted by PsychoSilence: the answer is 42...and John

hah, ode to Bobo

hotknife, I exposed the select object so that it could be used with the 2013 Subscription Data Ops. It would be helpful to know if it worked for you.

I am not sure I understand what you want. if you change color by the intersection of the object you can't see the changed particles. LOL what am i missing!
poof ~>Vimeo<~
Old 10 October 2012   #14
Originally Posted by JohnnyRandom: EDIT EDIT: Interesting approach 3ak, works nicely

Thanks. I just forgot about NOT func in box3 ops=) Almost completely switched to tp.
Old 10 October 2012   #15
Originally Posted by hotknife: Now back at work.
Edit : Colour would be nice to take from the intersection Object some way !!

Did you mean take UVs from nearest point on object? Then look at this:
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:46 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.