Seems to work nicely ! Thanks again for sharing.
On 2 January 2014 12:10, Jeremie Passerin <[email protected]> wrote: > he he , I got the feeling you still have your head down under ! > testing right now. ;-) > > > On 2 January 2014 11:27, Ahmidou Lyazidi <[email protected]> wrote: > >> Damn it!! >> I just re-updated with the good file. Can you please try again? >> >> Cheers! >> >> ----------------------------------------------- >> Ahmidou Lyazidi >> Director | TD | CG artist >> http://vimeo.com/ahmidou/videos >> http://www.cappuccino-films.com >> >> >> 2014/1/2 Jeremie Passerin <[email protected]> >> >>> Thanks for the update Ahmidou ! >>> Are you sure you attached the right addon to your post ? >>> I only see one command in this addon, no menu and not really some >>> working code >>> >>> This won't work anywhere else but on your machine :D >>> >>> # python >>> sel = xsi.Selection >>> sel.AddProperty("E:\\XSI_DEV\\DEV_WORKGROUP\\Application\\Plugins\\PMVC.preset", >>> 0, "PMVC") >>> Happy new year though ! Hope you'll have a great 2014 ! >>> >>> >>> On 2 January 2014 09:17, Ahmidou Lyazidi <[email protected]> wrote: >>> >>>> Hey, >>>> I've updated the plugin, so now a script is generating the coordinates >>>> as static ice attributes. >>>> same link: >>>> http://www.si-community.com/community/viewtopic.php?p=39308#p39308 >>>> You'll fin the command in the deformation menu. >>>> Tell me if it's working for you. >>>> >>>> Cheers, and Happy New Year!!!!! >>>> >>>> ----------------------------------------------- >>>> Ahmidou Lyazidi >>>> Director | TD | CG artist >>>> http://vimeo.com/ahmidou/videos >>>> http://www.cappuccino-films.com >>>> >>>> >>>> 2013/12/28 Ahmidou.xsi <[email protected]> >>>> >>>> So you are right Vincent :) >>>>> >>>>> Le 28 déc. 2013 à 18:06, Vincent Ullmann < >>>>> [email protected]> a écrit : >>>>> >>>>> Some News: >>>>> Same Error here on 2014 SP2 >>>>> >>>>> Error could be there: >>>>> >>>>> >>>>> Am 12/18/2013 10:25, schrieb Matt Morris: >>>>> >>>>> Using 2014sp2 and have the same error when trying to connect the >>>>> initPMVC. >>>>> >>>>> Thanks for being so generous with your compounds ahmidou! >>>>> >>>>> >>>>> On 18 December 2013 08:09, Andreas Böinghoff <[email protected]>wrote: >>>>> >>>>>> I got the same error here with SI 2013 SP1. >>>>>> >>>>>> Andreas >>>>>> >>>>>> >>>>>> On 12/18/2013 5:34 AM, Alok Gandhi wrote: >>>>>> >>>>>> Hi Ahmidou, >>>>>> >>>>>> I am getting the same error as Jeremie. From what I concur, the phi >>>>>> distribution on sphere node furnishes an array of position which is >>>>>> plugged >>>>>> into the direction of the a raycast node. The direction can be either a >>>>>> single vector or vector per point of the deformee while you are are >>>>>> supplying an array of vector, thereby causing incompatible types error. >>>>>> >>>>>> I did not have time to compare your implementation with the paper >>>>>> to further debug this, but this can give you an direction to further >>>>>> solve >>>>>> this issue. >>>>>> >>>>>> Either that or we are not setting up in the tree in the correct way. >>>>>> >>>>>> >>>>>> On Tue, Dec 17, 2013 at 9:09 PM, Jeremie Passerin < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Not sure, I'll try again tomorrow morning.. >>>>>>> >>>>>>> if anyone else on the list is testing it, let me know if it works >>>>>>> for you. >>>>>>> >>>>>>> thanks again for sharing, that might be a nice addition to my tool >>>>>>> set ! >>>>>>> >>>>>>> >>>>>>> On 17 December 2013 17:32, Ahmidou.xsi <[email protected]>wrote: >>>>>>> >>>>>>>> I'm not in front on my computer, but what kind of error did you >>>>>>>> got? >>>>>>>> >>>>>>>> Le 18 déc. 2013 à 11:52, Jeremie Passerin <[email protected]> a >>>>>>>> écrit : >>>>>>>> >>>>>>>> Nice job Ahmidou ! >>>>>>>> Looks pretty straight forward but I wasn't able to make it work >>>>>>>> yet. :D >>>>>>>> I got an error on the phi distribution on Sphere... I might be >>>>>>>> doing something wrong. >>>>>>>> I'm using XSI 2013, could that be it ? >>>>>>>> >>>>>>>> Here is what I've done >>>>>>>> >>>>>>>> >>>>>>>> # python >>>>>>>> xsi = Application >>>>>>>> >>>>>>>> # Your path here ! >>>>>>>> compoundPath = >>>>>>>> "\\\\source\\source\\dev\\passerin\\blurdev\\workgroups\\xsi_blurdev\\data\\Compounds" >>>>>>>> >>>>>>>> xsi.CreatePrim("Sphere", "MeshSurface", "", "") >>>>>>>> xsi.SetValue("sphere.polymsh.geom.subdivu", 24, "") >>>>>>>> xsi.SetValue("sphere.polymsh.geom.subdivv", 24, "") >>>>>>>> xsi.FreezeObj("", "", "") >>>>>>>> xsi.CreatePrim("Cube", "MeshSurface", "", "") >>>>>>>> xsi.SetValue("cube.cube.length", 9, "") >>>>>>>> xsi.ApplyTopoOp("TriangulatePolygons", "cube", "siUnspecified", >>>>>>>> "siPersistentOperation", "") >>>>>>>> xsi.FreezeObj("", "", "") >>>>>>>> >>>>>>>> xsi.SelectObj("sphere", "", True) >>>>>>>> xsi.ApplyOp("ICETree", "sphere", "siNode", "", "", 0) >>>>>>>> xsi.AddICECompoundNode(compoundPath+"\\initPMVC.xsicompound", >>>>>>>> "sphere.polymsh.ICETree") >>>>>>>> xsi.ConnectICENodes("sphere.polymsh.ICETree.port1", >>>>>>>> "sphere.polymsh.ICETree.initPMVC.Execute") >>>>>>>> xsi.SelectObj("cube", "", "") >>>>>>>> xsi.AddICENode("GetDataNode", "sphere.polymsh.ICETree") >>>>>>>> xsi.SetValue("sphere.polymsh.ICETree.SceneReferenceNode.reference", >>>>>>>> "cube", "") >>>>>>>> xsi.ConnectICENodes("sphere.polymsh.ICETree.initPMVC.cage", >>>>>>>> "sphere.polymsh.ICETree.SceneReferenceNode.outname") >>>>>>>> xsi.SelectObj("sphere", "", True) >>>>>>>> xsi.ApplyOp("ICETree", "sphere", "siNode", "", "", 0) >>>>>>>> xsi.MoveOperatorAfter("sphere.polymsh", "sphere.polymsh.ICETree1", >>>>>>>> "sphere.polymsh.shapemarker") >>>>>>>> xsi.AddICECompoundNode(compoundPath+"\\PMVC.xsicompound", >>>>>>>> "sphere.polymsh.ICETree1") >>>>>>>> xsi.ConnectICENodes("sphere.polymsh.ICETree1.port1", >>>>>>>> "sphere.polymsh.ICETree1.PMVC.Execute") >>>>>>>> xsi.SelectObj("cube", "", "") >>>>>>>> xsi.AddICENode("GetDataNode", "sphere.polymsh.ICETree1") >>>>>>>> xsi.SetValue("sphere.polymsh.ICETree1.SceneReferenceNode.reference", >>>>>>>> "cube", "") >>>>>>>> xsi.ConnectICENodes("sphere.polymsh.ICETree1.PMVC.cage", >>>>>>>> "sphere.polymsh.ICETree1.SceneReferenceNode.outname") >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On 17 December 2013 15:37, Alok Gandhi >>>>>>>> <[email protected]>wrote: >>>>>>>> >>>>>>>>> Will check that out, thanks Ahmidou! >>>>>>>>> >>>>>>>>> >>>>>>>>> On Tue, Dec 17, 2013 at 6:28 PM, Ahmidou Lyazidi < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Here is a new cage defomer based on this paper: >>>>>>>>>> http://www.wisdom.weizmann.ac.il/~ylipman/pmvc/pmvc.htm >>>>>>>>>> >>>>>>>>>> The result is very close the Harmonic coordinates deformation >>>>>>>>>> done by Pixar, but faster to compute, it's also better deformation >>>>>>>>>> than the >>>>>>>>>> Softimage factory one. >>>>>>>>>> To use it, just connect 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. >>>>>>>>>> >>>>>>>>>> http://www.si-community.com/community/viewtopic.php?f=19&t=4683 >>>>>>>>>> >>>>>>>>>> Cheers >>>>>>>>>> ----------------------------------------------- >>>>>>>>>> Ahmidou Lyazidi >>>>>>>>>> Director | TD | CG artist >>>>>>>>>> http://vimeo.com/ahmidou/videos >>>>>>>>>> http://www.cappuccino-films.com >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> www.matinai.com >>>>> >>>>> >>>>> <ArrayOfLoc_to_ArrayOfArray.JPG> >>>>> >>>>> >>>> >>> >> >

