cormaction

Hi guys, first post!
I've literally been using Soup for just a couple hours and it seems fanstastic so far. I was just following along with this tutorial to help get a grasp on some concepts:



It's from a few years ago so perhaps a few things have changed since then but here's my problem:

The idea is that when a cube hits the plane, it adds to a weightmap on the plane where the bounding volume of the cube intersects with the plane. This is great and I seem to get it to sort of work like in the video except for a couple of things. In the video there is an option in the shatter node called "Use Vertex Color as Mask". This is missing from my version (and a colleagues version) of soup. I found another option under filters called vetex color, when set to active, this sort of does the trick but here's the catch. In the video when the cube hits the plane, the weightmap and therefore the particles that are masked  by it are left behind for the duration of the timeline so a trail of particles are left in the cubes path whereas in my scene as soon as the cube and its bounding volume lift again the weight map disappears and so do the shatter particles that were masked by the weight map.


So, anyone have thoughts as to where I'm going wrong? Logically, the behaviour I'm getting seems correct. Once the box is not intersecting with the plane, there should be no weight values but how is the guy in the video keeping the values stored on the plane after the box lifts?

Cheers guys,
Cormac

Reply 0 0
plarson
Welcome!

Yeah the vertex color activate was moved there under filters on the scatter.

The arrayDataContainer was used in that video to keep the values after the boundings have moved. I would suggest checking the settings on it. You can also narrow down the problem by viewing the the values with a displayComponents(there are some example scenes with it).
Reply 1 0
cormaction
Thanks a mill plars, was enough to push me in the right direction! So what happened to me in case anyone else comes across this problem, was that I had made the array Data Container node by using the tab key in the node editor and I got it in its raw form. If you get it from the menu it comes in with the time node plugged in to the "in time" port and that's what I was missing.

Cheers man!
Reply 0 0
Reply