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 Tools Display Modes
  03 March 2011
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 to have "self collide on" but not emit light when colliding with particles from it's own group but only from others?

Thanks guys.
  03 March 2011
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:

If collision is important than maybe solution is to attach nrigid objects to your particles and collide that way , but ...
  03 March 2011
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.
  04 April 2011
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?
  04 April 2011
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.
  04 April 2011
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
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 12:29 PM.

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