Jump to content
ParticleSkull

POP Fireworks - Color from Image

Recommended Posts

Hey guys,

I have to create fireworks that turn into some specific shapes. Just like this:
IrOGCGH.png

I have an workflow idea working with colors. It goes like this:

-Simulate standard the fireworks;

t5Nqyu2.gif

-Go to a specific frame where the where the starbusrt* is fully formed;

xQlkwQe.png

-Apply the color at this specific frame;

tDmS6KT.png

-keep that specific color assigned to individual particles through the whole simulation; 

TTxCx0b.png

(not working)

does it make sense?

I'm having problems to achieve this last step. what I'm doing is:

-caching the simulation;

-apply the colors;

-add a timeshif to the "rest" frame (89 in this case);

-copy the color attributes from this frame (89) to the animated simulation;

M3Q7Ek3.png

I guess it happens because the particle count changes during the sim. Any idea on how to proceed?

(Scene file is attached)

Thank you,
Alvaro

*starburst is the round shape

Fireworks.v1b.rar

Share this post


Link to post
Share on other sites

Try attribute transfer instead of attribute copy. Attribute copy match by id also gives different but interesting result. Hope that's what you are looking for. Cheers!

  • Like 1

Share this post


Link to post
Share on other sites

Got it! Thx Kiseh :D

In case anyone else need it, I just had to check "Match by Attribute" on the Attribute Copy sop + match it by id. Like this:

92eUdCB.png

3Nd1Tke.gif

Cheers,
Alvaro

Edited by ParticleSkull
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×