Particles: multiple goals transfering color

Become a member of the CGSociety

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

Thread Tools Search this Thread Display Modes
  09 September 2013
Particles: multiple goals transfering color

Hi guys,

It must be a dumb question, but i couldn't get the key words to find an answer on the net so sorry in advance.

I did multiple goals, first particles form a sphere then go to a torus. What I would like to get is that when the particles are leaving the first object to form the second one and when they stick to the surface (not when they are turning around the mesh, even if they are really close), they have an other color.

Hope it makes sense,

  09 September 2013
Still searching for a solution!
  09 September 2013
Hm there is like 2 ways, that you can mix and match.
First is utilizing soup's attribute-transfer node (there should be examples scenes coming with soup that show transfer from surface to particle) and second is using the goal, goalPP or goalWeight0PP value in an expression.
if( goalWeight0PP == 1)

rgbPP = 1

Similarly to soup's attribute-transfer you could programm it in an expression like:
float $dist = mag (position - goalWorldPosition0PP);
if( $dist <= .5)
rgbPP = 1

to get smooth transitions you could feed that into a ramp.
  09 September 2013
Hey man,

Sorry for the late reply, just wanted to thank you. I decide to use Soup, for more control.

Thanks again, soup is quite powerful (just need to spend a lot of time to understand the logic)

  09 September 2013
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 10:32 PM.

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