Copy animated weightmap from a mesh to a copy?

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 07:44

Copy animated weightmap from a mesh to a copy?

Post by Bullit » 19 Jun 2014, 12:32

I have an object that i want to start deformed and then return to the initial position.

In this case the object being very deformed is very difficult to use a null/geo trigger to hit the correct points. The null/geo will paint a weightmap and the weight map triiger the points to return position -at this time don't know if i'll use Syflex -

So i thought of using a copy of this object without the deformation and then move the null along the ponts that i want to be undeformed first to this will be replicated in correct positions in the deformed mesh.

What will be the best way to copy a weightmap on the fly?

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: Copy animated weightmap from a mesh to a copy?

Post by Hirazi Blue » 19 Jun 2014, 13:22

Not entirely sure, but isn't this just a case of creating a (simulated?) ICE Tree on your target object,
getting the ".cls.WeightMapCls.Weight_Map.Weights" of the original object,
add a "switch context" and setting the data on your target object?
Your target object would need to have a weightmap defined beforehand...
Stay safe, sane & healthy!

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 07:44

Re: Copy animated weightmap from a mesh to a copy?

Post by Bullit » 19 Jun 2014, 16:02

Thks. Will try it and report.

User avatar
Tekano
Posts: 488
Joined: 09 Jun 2009, 12:49
Location: London, UK

Re: Copy animated weightmap from a mesh to a copy?

Post by Tekano » 19 Jun 2014, 18:58

its called 'Switch Context'
Capture_switch_context.JPG
the sphere on the right has the weightmap the sphere on the left has it applied with switch context.
You do not have the required permissions to view the files attached to this post.
Gossip is what no one claims to like, but everybody enjoys.

User avatar
Hirazi Blue
Administrator
Posts: 5113
Joined: 04 Jun 2009, 10:15

Re: Copy animated weightmap from a mesh to a copy?

Post by Hirazi Blue » 19 Jun 2014, 19:27

Tekano wrote:its called 'Switch Context'
Yes, that indeed is very different from the "switch context" I called the node... ;)
Stay safe, sane & healthy!

User avatar
Tekano
Posts: 488
Joined: 09 Jun 2009, 12:49
Location: London, UK

Re: Copy animated weightmap from a mesh to a copy?

Post by Tekano » 19 Jun 2014, 19:56

lol Hirazi, I read too fast and only the first line and did not read you had actually answered the question already further on. my apologies!

** edit ** but in my meagre defence, one does not need a simulated ICE tree for this node to work and just assumed you were already wrong and did not concern with the rest. :ymblushing: so will try read to the end next time. I promise B-)
Gossip is what no one claims to like, but everybody enjoys.

Bullit
Moderator
Posts: 2621
Joined: 24 May 2012, 07:44

Re: Copy animated weightmap from a mesh to a copy?

Post by Bullit » 19 Jun 2014, 22:08

Hehe, thanks both of you.