Krakatoa Deleting by color

Become a member of the CGSociety

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

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 10 October 2013   #1
Krakatoa Deleting by color

Hi everyone, I`m wondering if there is any way to select only the white particles and delete them with magma, I`m getting the color from a black and white texture. Thanks
 
Old 10 October 2013   #2
Off the top of my head, it sounds like you could do these with ID's. Anything that is birthed in the white can have a unique ID and anything that is in the black can have a unique ID. Then output those to a selection and add a Krakatoa Delete modifier on top to delete the selected particles.

The problem you're going to have is that this will all take place instantly, so I would add in a boolean of some sort. Maybe a velocity or even distance threshold - for example:

If the velocity is Greater Than or Equal to "x" and it has the ID of "x" then select it...etc.

Hope that helps.
 
Old 10 October 2013   #3
Thanks man My problem is, since Im not so good with magma yet, I dont know how to assign different Ids from the color of born :( , can you give me a clue?
 
Old 10 October 2013   #4
I'm actually just sort of getting knee deep into Magma. I'm trying to figure this out myself right now. If/when I do figure it out I will post an overview for you
 
Old 10 October 2013   #5
Thanks Michael
 
Old 10 October 2013   #6
Here you go:


Magma Flow

Don't forget to add Krakatoa Delete modifier, in magma only particle selection is possible.
__________________
 
Old 10 October 2013   #7
Ahh that's right. I totally didn't even think about doing a color magnitude, especially because this is the perfect situation in that it's black and white. (0 -1)

Deko with the win.
 
Old 10 October 2013   #8
Thanks Deko
 
Old 10 October 2013   #9
Thank you guys.
I'm constantly updating my magma presets library:
DropBox

Step by step I will prepare more examples for quick uses.
__________________
 
Old 10 October 2013   #10
Holy cow, thank DEKO!!!
 
Old 10 October 2013   #11
Quote:
Originally Posted by mstarktv
Ahh that's right. I totally didn't even think about doing a color magnitude, especially because this is the perfect situation in that it's black and white. (0 -1)

Deko with the win.


Color Magnitude works because the test is for greater than 1.1.
A Color in Magma does not have to be limited to 0.0-1.0 (it is just that the Max display does not show it well if it is above that). A more precise approach would be to use a Breakout to split the R,G and B to Floats and compare each of them with GreaterOrEqual 1.0, then combine their results using two LogicalAnd ops and pass the result to the Selection. This way, if all 3 components are 1.0 or higher, the particle will be deleted.
But the Magnitude might be a good approximation.
__________________
Bobo
 
Old 10 October 2013   #12
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
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
CGSociety
Society of Digital Artists
www.cgsociety.org

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

All times are GMT. The time now is 07:13 AM.


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