CGTalk > Software > Autodesk Maya > Maya Dynamics
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 03-17-2011, 03:51 AM   #1
Kinematics
187
kinematics
CG Artist
USA
 
Join Date: Sep 2002
Posts: 830
Send a message via MSN to Kinematics
nParticle - On collision event, emit light.

Hey guys,

As the title says. I basically have two emitters of nParticles. How do I cause the particles to emit light on collision? And also, if possible...how to have "self collide on" but not emit light when colliding with particles from it's own group but only from others?

Thanks guys.
 
Old 03-17-2011, 04:53 AM   #2
ginodauri
Know-it-All
breeder
fff, Serbia
 
Join Date: Oct 2007
Posts: 469
I far as i know you don't have self collision pp attribute.

What you can do is to emit light based on velocity.

My quick test:

http://www.youtube.com/watch?v=LQR47Tpb55Q

If collision is important than maybe solution is to attach nrigid objects to your particles and collide that way , but ...
 
Old 03-17-2011, 11:23 PM   #3
Aikiman
Pixel Collisions
 
Aikiman's Avatar
portfolio
Jeremy Raven
Wellington, New Zealand
 
Join Date: Jun 2005
Posts: 3,582
what kind of light are we talking here? A real pointlight, a change of vertex or particle colour or would emitting more particles on collisions work as if like a flash of sparks?

Each one obviously handled very differently depending on your requirements.
__________________
www.jeremyraven.co.nz
Vimeo
 
Old 04-11-2011, 03:39 AM   #4
Kinematics
187
kinematics
CG Artist
USA
 
Join Date: Sep 2002
Posts: 830
Send a message via MSN to Kinematics
Well the idea is that when the "atom" collides with another. It generates energy thus releasing light, So I suppose point light would be it. =) any ideas?
 
Old 04-11-2011, 05:34 AM   #5
Aikiman
Pixel Collisions
 
Aikiman's Avatar
portfolio
Jeremy Raven
Wellington, New Zealand
 
Join Date: Jun 2005
Posts: 3,582
Personally I would use particle emission with a ton of motion blur and short lifespan.

If you want to go the point light direction you would have to find the collision worldPosition and create a point light there and then delete it or turn down the intensity. A bit more mel involved.
__________________
www.jeremyraven.co.nz
Vimeo
 
Old 04-11-2011, 05:34 AM   #6
CGTalk Moderation
Expert
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,478
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 12:22 PM.


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