pshipkov
Minor update release.

pfxToArray - improved code for output rotations. As result instanced geometry lines up exactly to the corresponding pfx elements. Before that part was cumbersome and needed manual work to get everything right. Example scenes updated accordingly.

morph - additive shapes logic have been upgraded and now allow us to add arbitrary number of closely "located" correctives without the popping side effects of other techniques. For people deep in PSDs that will make noticeable positive difference.

mesh2Arrays - fixed "useVertexColors" code that caused crash in some cases
Reply 0 0
djx
Hi Peter, as usual I appreciate the update.

Unfortunately, however, this update is causing a script I have been using to build my morphs to crash maya (win7 2015 ext+sp5). If I roll back to the soup 14_10_06 realease, everything works. I'm trying to figure out exactly where it is crashing, which has been difficult so far since it only happens when I use my script to create the morph deformer or add a target. If I run the same commands outside the script (in the script editor) it works ok. The 3 lines I think might be to blame are:

 
pm.deformer('body_geo', typ='morph', foc=False, n='testMorph', before=True)
from __main__ import Morph
Morph().add('testMorph', 'body_geo', ['targetX'], neutral=False, surface=True, safe=True, force=True)
 

Sometimes it crashes straight after adding the deformer, and other times when doing the add. This only happens when those lines are called from a proc in my script and only in the 14_11_14 soup release.

Can you think of anything that could be causing this? Your UI is working fine too. But I'd love to get my script working.

thanks
David
Reply 0 0
pshipkov
This is a bug i introduced.
If you add a target with no deltas (base and target geo overlap completely) then there is a line in my new code that does not check for that.
Fixing it now on my side and will push new update today or tomorrow.
Reply 0 0
pshipkov
Ok, pushed new update with this fix in place.
Reply 0 0
djx
Sorry to be a pest Peter. I've downloaded the 14_11_15 release. The win_maya2015 plugin is dated 14_11_15 20:26. Unfortunately it still crashes for me if there are no deltas though. My script is creating a place-holder which is a copy of the mesh before sculpting. I guess this is not an essential part of the work flow, so I can probably work around it if the fix is difficult at your end.

Reply 0 0
djx
Me again :)
I've also noticed when using the morph api, adding targets to a morph node fails when the target is not in the same namespace as the the morph node. Actually... it doesnt fail completely, a target is added, but its deltas are ignored. The same procedure works correctly in the 14_10_06 release.

update: This behaviour seems to be intermittent. If I repeatedly update an existing morph target, about 1 in 3 updates result in zero deltas being applied. The other 2 work correctly.
I cant reproduce this behaviour in the earlier release.

And this may not be namespace related... just when i first noticed it that seemed to be the only thing that was different to when it worked last. Now I'm not so sure.
Reply 0 0
pshipkov
I fixed the crashing thing. Basically i fixed it yesterday then in the last moment before releasing tweaked something for  "better" which turned out to be for worse. Anyway now things are back to normal.



I am not completely sure what you are saying in your last post.
Can you provide the exact steps of reproducing the problem ?
If you can pass an example scene that will be best.
Reply 0 0
djx
Cool. Thanks Peter. I'll make an example scene tonight after work.
Reply 0 0
djx
Nice one Peter. 14_11_17 release is working well. Unlike yesterday, all my troubles seem so far away.

Thanks for the quick turn around! Greatly appreciated.
Reply 0 0
viper_0711

Reply 0 0
viper_0711
Hi Peter,

thanks for the update as usual!
just downloaded and found that it breaks one of my scripts here.
investigated and find that the inMesh connection mode of morph node doesn't work.
i tried on a simple sphere and confirmed it doesn't work if "connect" is checked at UI. or scripted.
Reply 0 0
pshipkov
Nice catch. Fixed now. Download the new version 2014-11-30.
Thanks.
Reply 0 0
Reply