particle age UVW gradient - Printable Version +- tyFlow Forum (https://forum.tyflow.com) +-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html) +--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html) +--- Thread: particle age UVW gradient (/thread-2922.html) |
particle age UVW gradient - ldotchopz - 02-15-2022 I have a cylinder that colour mixes from green to red by an animated a UVW modifier. I would like tyflow to start animating each particle gradient as the surface force hits them. I have been told this can be done with custom properties but i can't for the life of me figue it out. Exmple and file attached Thank you! particle-age_preview.mp4 (Size: 3.96 MB / Downloads: 158) particle-age.max (Size: 848 KB / Downloads: 150) RE: particle age UVW gradient - ldotchopz - 02-17-2022 Anyone got an answer to this? Thanks! RE: particle age UVW gradient - tyFlow - 02-17-2022 Did you look at the UVW Gradient official sample scene? That's the standard way to control particle colors by age or other triggers. I guess your setup is slightly different because you're not controlling particle colors on the whole, but instead having a gradient travel up a spline once triggered. That's an interesting dilemma....my intuition would be to have 2 map channels...one to set the UVWs required to have the gradient go from bottom to top, and the other to control the V offset of the first channel (this would be what you control with particle data). Might have to involve some OSL as well to get it to work (read the V value of map channel 2 and apply that as an offset to the V value of map channel 1). RE: particle age UVW gradient - ldotchopz - 02-17-2022 (02-17-2022, 02:17 PM)tyFlow Wrote: Did you look at the UVW Gradient official sample scene? That's the standard way to control particle colors by age or other triggers. Believe it or not i actually found a solution an acient vray forum using the original Pflow. check it out. would be awesome to have this as easy in tyflow, could make for some great effects. gradient-trigger.max (Size: 848 KB / Downloads: 153) |