CGTalk > Software > Autodesk 3ds max > Plugins & Add-ons
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 10-16-2013, 04:46 AM   #1
Moneitor
Veteran
 
Moneitor's Avatar
portfolio
Hernan Llano
Im currently studying biology and working in commercials
Universidad de Caldas
Manizales, CO
 
Join Date: Nov 2009
Posts: 67
Send a message via MSN to Moneitor
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-16-2013, 02:33 PM   #2
mstarktv
Frequenter
 
mstarktv's Avatar
portfolio
Michael Stark
FX artist
Pixomondo
USA
 
Join Date: Dec 2012
Posts: 100
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-16-2013, 02:53 PM   #3
Moneitor
Veteran
 
Moneitor's Avatar
portfolio
Hernan Llano
Im currently studying biology and working in commercials
Universidad de Caldas
Manizales, CO
 
Join Date: Nov 2009
Posts: 67
Send a message via MSN to Moneitor
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-16-2013, 04:05 PM   #4
mstarktv
Frequenter
 
mstarktv's Avatar
portfolio
Michael Stark
FX artist
Pixomondo
USA
 
Join Date: Dec 2012
Posts: 100
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-16-2013, 10:11 PM   #5
Moneitor
Veteran
 
Moneitor's Avatar
portfolio
Hernan Llano
Im currently studying biology and working in commercials
Universidad de Caldas
Manizales, CO
 
Join Date: Nov 2009
Posts: 67
Send a message via MSN to Moneitor
Thanks Michael
 
Old 10-16-2013, 10:45 PM   #6
DeKo-LT
Expert
 
DeKo-LT's Avatar
portfolio
DeKo
FREElance
Vilnius, Lithuania
 
Join Date: Mar 2004
Posts: 338
Here you go:


Magma Flow

Don't forget to add Krakatoa Delete modifier, in magma only particle selection is possible.
__________________
 
Old 10-17-2013, 02:55 PM   #7
mstarktv
Frequenter
 
mstarktv's Avatar
portfolio
Michael Stark
FX artist
Pixomondo
USA
 
Join Date: Dec 2012
Posts: 100
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-17-2013, 03:36 PM   #8
Moneitor
Veteran
 
Moneitor's Avatar
portfolio
Hernan Llano
Im currently studying biology and working in commercials
Universidad de Caldas
Manizales, CO
 
Join Date: Nov 2009
Posts: 67
Send a message via MSN to Moneitor
Thanks Deko
 
Old 10-18-2013, 11:31 AM   #9
DeKo-LT
Expert
 
DeKo-LT's Avatar
portfolio
DeKo
FREElance
Vilnius, Lithuania
 
Join Date: Mar 2004
Posts: 338
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-18-2013, 02:49 PM   #10
Moneitor
Veteran
 
Moneitor's Avatar
portfolio
Hernan Llano
Im currently studying biology and working in commercials
Universidad de Caldas
Manizales, CO
 
Join Date: Nov 2009
Posts: 67
Send a message via MSN to Moneitor
Holy cow, thank DEKO!!!
 
Old 10-18-2013, 03:59 PM   #11
Bobo
Krakatoa Guy
 
Bobo's Avatar
Borislav Petrov
Product Specialist
Thinkbox Software
Vancouver, Canada
 
Join Date: Mar 2002
Posts: 5,321
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-18-2013, 03:59 PM   #12
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 09:16 AM.


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