New Cage Deformer
Plugins linking to this thread: (hide)
Positive Mean Value Coordinates Deformations
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
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
New Cage Deformer
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!
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.
Re: New Cage Deformer
Hello
tried on 2014, but init ice node stays red and doesnt work, used polymesh both as deformed mesh and deformer.
Best
tried on 2014, but init ice node stays red and doesnt work, used polymesh both as deformed mesh and deformer.
Best
Re: New Cage Deformer
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!
Anyway, I've updated it with a Python script to generate the coordinates.
Check the first post for the details.
Happy new year!
Re: New Cage Deformer
Hi
I'm not getting a menu entry in Modify>Deform
(with the updated addon)
Happy 2014 to all!
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
Re: New Cage Deformer
@Ahmidou
thank you for the fix will defenetly try it
Happy new year!
thank you for the fix will defenetly try it
Happy new year!
Re: New Cage Deformer
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!
"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
Re: New Cage Deformer
No worries, I'll add the featurerray 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!
-
- Posts: 56
- Joined: 09 Nov 2009, 10:58
Re: New Cage Deformer
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?
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?
Re: New Cage Deformer
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
-
- Posts: 56
- Joined: 09 Nov 2009, 10:58
Re: New Cage Deformer
Thanks, I'll give it another go later today.
Re: New Cage Deformer
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
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
Re: New Cage Deformer
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
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
-
- Posts: 56
- Joined: 09 Nov 2009, 10:58
Re: New Cage Deformer
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
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
Re: New Cage Deformer
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.
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.
Who is online
Users browsing this forum: No registered users and 44 guests