New Cage Deformer

Plugins linking to this thread: (hide)

Positive Mean Value Coordinates DeformationsAuthor: Ahmidou Lyazidi
A new ICE based cage defomer utilizing positive mean value coordinates (PMVC) resulting in a deformation with superior quality to that of the factory/legacy cage deformers. (PMVC is described in this Eurographics paper by Yaron Lipman et al.).

One requirements has to be met which is that the deformed object must be fully enclosed by the cage object.

local backup: PMVC_deformer.xsiaddon

Post Reply
Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

New Cage Deformer

Post by Ahmidou » 18 Dec 2013, 00:24

Here is a new cage defomer that is giving a better deformation than the factory one based on this paper:
http://www.wisdom.weizmann.ac.il/~ylipman/pmvc/pmvc.htm
this workflow is temporary removed:
"To use it, just conect the initPMVC compound in the modeling region, and the PMVC one in the animation region, both on the deformed object.
The cage must be triangulated! .. but once your happy with the deformation the initPMVC compound may be frozen , and then cage can be quadrangulated.
The only limitation is that all the point of the deformee must be inside the cage."

Edit: updated with the script version for the coordinates generation. I've also package everything in a command in the deformation menu.
For this version, the cage don't need to be triangulated :)
Also you have to freeze the deformation if you want edit the cage as you cant overwrite an ICE attribute that is in use


Cheers!
Attachments
PMVC_deformer.rar
(9.4 KiB) Downloaded 346 times
Last edited by Ahmidou on 02 Jan 2014, 20:24, edited 4 times in total.

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

Re: New Cage Deformer

Post by Bullit » 18 Dec 2013, 01:45

Thanks

hidalgo
Posts: 113
Joined: 03 Feb 2012, 20:50

Re: New Cage Deformer

Post by hidalgo » 18 Dec 2013, 11:45

Hello

tried on 2014, but init ice node stays red and doesnt work, used polymesh both as deformed mesh and deformer.

Best

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: New Cage Deformer

Post by Ahmidou » 02 Jan 2014, 18:12

Hi, sorry for the late reply. The init compound won't work with the current Softimage version, I should have check this before releasing it.
Anyway, I've updated it with a Python script to generate the coordinates.
Check the first post for the details.

Happy new year!

User avatar
rray
Moderator
Posts: 1774
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: New Cage Deformer

Post by rray » 02 Jan 2014, 19:14

Hi
I'm not getting a menu entry in Modify>Deform
(with the updated addon)
Happy 2014 to all!
softimage resources section updated Jan 5th 2024

hidalgo
Posts: 113
Joined: 03 Feb 2012, 20:50

Re: New Cage Deformer

Post by hidalgo » 02 Jan 2014, 19:30

@Ahmidou

thank you for the fix will defenetly try it :D

Happy new year!

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: New Cage Deformer

Post by Ahmidou » 02 Jan 2014, 20:25

It should be OK now!!!!

User avatar
rray
Moderator
Posts: 1774
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: New Cage Deformer

Post by rray » 02 Jan 2014, 21:18

It tried to write the compounds to a directory
"E:\XSI_WORKGROUP\ICE\Data\Compounds\"
but after editing it in the xsiaddon file to
"\Data\Compounds\",

it works!
** is there a way so the script could easily test for if the deformed mesh isn't completely inside the cage?

Thanks for sharing this!
softimage resources section updated Jan 5th 2024

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: New Cage Deformer

Post by Ahmidou » 03 Jan 2014, 08:40

rray wrote: ** is there a way so the script could easily test for if the deformed mesh isn't completely inside the cage?
Thanks for sharing this!
No worries, I'll add the feature

danyargici
Posts: 56
Joined: 09 Nov 2009, 10:58

Re: New Cage Deformer

Post by danyargici » 16 Apr 2014, 13:15

Despite trying for the best part of an hour I have been unable to get this to work!

I've fixed the path in the addon. I've tried triangulated and untriangulated geometry. Nothing!

Anyone care to share some pointers, or perhaps a scene?

User avatar
rray
Moderator
Posts: 1774
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: New Cage Deformer

Post by rray » 16 Apr 2014, 14:18

This (link) is the addon I tried (it has the paths fixed) .. needed an app restart. What I tried and what worked was: object fully inside the cage, and the "sparse" checkbox ticked, otherwise I would get a crumpled mesh. Used a quad mesh.
softimage resources section updated Jan 5th 2024

danyargici
Posts: 56
Joined: 09 Nov 2009, 10:58

Re: New Cage Deformer

Post by danyargici » 16 Apr 2014, 15:49

Thanks, I'll give it another go later today.

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: New Cage Deformer

Post by Ahmidou » 17 Apr 2014, 02:47

Hi Dan,
Would you be on 2015 by any chances? If yes, I've just posted a scene with the 100% ICE setup on the softimage list.
Please not that in this case the cage have to be triangulated.

I hope you'll get it working!
Cheers

User avatar
mattmos
Posts: 445
Joined: 02 Dec 2009, 16:59

Re: New Cage Deformer

Post by mattmos » 17 Apr 2014, 10:21

Hi Ahmidou,
I've had a little trawl through the mailing list but can't find the ice setup, any chance you could post a link here?
Thanks!
Matt

danyargici
Posts: 56
Joined: 09 Nov 2009, 10:58

Re: New Cage Deformer

Post by danyargici » 17 Apr 2014, 11:39

Hi Ahmidou, you have a syntax error in your plugin which is preventing it from working.

There is an Activeprimitive (lower case p) around line 60 which needs fixing. All working now (with the version rray posted that also has the fixed hard-coded paths in the addon)

Dan

Ahmidou
Posts: 106
Joined: 04 Jan 2010, 14:00

Re: New Cage Deformer

Post by Ahmidou » 17 Apr 2014, 16:45

Thanks Dan, I'll fix that on my side.(weird that it was working for me)
About the scene I posted on the list, it's waiting for approval, because of the it's size.
it's also 22Kb bigger than the allowed file size in this forum :/

I'll try to reduce it's size tonight.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests