nParticle - On collision event, emit light.

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 03 March 2011   #1
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 March 2011   #2
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 March 2011   #3
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 April 2011   #4
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 April 2011   #5
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 April 2011   #6
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



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:34 PM.


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