mcjMirrorMorph - This script builds mirrored morphs on (for now) figures with good symmetry
by good symmetry we mean, there's the same number of vertices on each side of the figure
and they are at mirrored positions of one another
mcjMirrorMorph for DS4.X PC/Mac version
right here—-> https://sites.google.com/site/mcasualsdazscripts5/mcjmirrormorph
if you cant get the download from the attachments ( the blue down arrow )
then here’s a direct link to the zip file
https://sites.google.com/site/mcasualsdazscripts5/mcjmirrormorph/mcjMirrorMorph.zip?attredirects=0&d=1
seems to work well with moderately-low-poly figures and moderately simple morphs
this version ( but maybe not the next one ! ) only works if your figure symmetry is near perfect ( but small symmetry errors are ok )
There should be a DS1, DS2, DS3 version soon
and also in the June-ish future there will be a PC-Only accelerator
which will also ship with mcjSpaceMorph
Comments
Dear Casual,
I tried to send you a PM but your box is full up. So I'm posting here in hopes you will see this request.
Since I do all of my morph work in ZBrush and then into DAZ Studio for testing one of the issues I run into is that there is no way to get morphs to look identical on either side. So I may have a JCM morph for the right thigh that looks awesome but then I try to recreate it on the left side and it's just not as good no matter how I go about it.
So I'm putting out a request for a way to select a morph and mirror it to the other side if possible. Not sure how you would go about doing that. I know there is an ages old script called Mirror Master but that works only for CR2's and this is a DUF native DS file.
Please let me know.
Thanks so much!
Richard
Tried to PM you but your box is full up. SO I sent you a request here:
http://www.daz3d.com/forums/discussion/30004/P1110/#830994
Hope all is well! :-)
that mailbox is so small! and it hurts to delete messages, though in the end i almost never need them but still.
i posted a teaser very recently for a script which will come out in June
http://www.daz3d.com/forums/quotereply/830995/
and i think it could be used for your purpose
you would
1 - Zero-pose the object, all morphs zeroed
2 - apply your Right-Morph to the object or figure
3 - export this as an obj
4 - import the obj
5 - X-Scale it minus 100% ( mirror it )
6 - export this as an obj
7 - import the obj
8 - use the upcoming script to convert the obj into a Left-side morph
and the main winning point of the script is that the left and right side of the figure don't need to be perfect mirrors to start with
but i may also make a "mirror" version which would not require the export/import/scale/export/import phases
Sounds like something that may be useful. Fingers crossed.
Part of the thing though with creating JCM's is that you have to export the figure and the clothing in the pose that causes the poke throughs, so say I have a twist poke through in the thigh. So I bend up the thigh and twist it to make the poke through, export to ZBrush, fix all that, add in some wrinkles to make the "cloth" flow more naturally and then save that as a morph target. With the figure still posed I bring it in via the Morph Loader Pro and set the "reverse deformations" to YES and then go to the pants thigh and in Edit mode set the ERC up and I'm done.
So not sure if your script will be it but it's certainly worth a try. The thing is the saved OBJ for that JCM is POSED with the pants leg out and twisted.
that mailbox is so small! and it hurts to delete messages, though in the end i almost never need them but still.
i posted a teaser very recently for a script which will come out in June
and i think it could be used for your purpose
you would
1 - Zero-pose the object, all morphs zeroed
2 - apply your Right-Morph to the object or figure
3 - export this as an obj
4 - import the obj
5 - X-Scale it minus 100% ( mirror it )
6 - export this as an obj
7 - import the obj
8 - use the upcoming script to convert the obj into a Left-side morph
and the main winning point of the script is that the left and right side of the figure don't need to be perfect mirrors to start with
but i may also make a "mirror" version which would not require the export/import/scale/export/import phases
Replied in other thread. Thanks Casual!
the cpu-intensive phase for doing that kind of operation will be handled by the 'mcjObjServer' component of mcjSpaceMorph
it's the phase where we find the vertex that is the closest to the mirrored-position of another vertex
so there will be a script that does all this:
- take the list of vertices involved in your joint-controlled morph, that list of vertices "lives" in the JCM morph/modifier
- save to disk the zero-posed and zero-morphed positions of those vertices --- but ... with the X coordinates Mirrored (negated)
- save to disk the zero-posed and zero-morphed positions of all the figure vertices (or use the .obj if it already exists)
- invoke the mcjObjServer ( a PC-Windows utility ) which will possibly make millions of comparisons and find the closest vertex for each vertex in our list
- load the result
- create the mirrored morph, which can now be done in a few seconds
....
well come to think of it, one could compute a map which maps each left side vertex of a figure to it's right-side twin (or close)
that map could be re-used later,
note : on, a 90000 vertex figure, creating that map would involve 8100000000 (8 billion ! ) vertex position comparisons
.... hence the use of a PC-Win server, not a script
Oh my goodness! I think my brain just fell out..... ;-)~
Here is a perfect example of a JCM I would LOVE to be able to mirror.... I really like how this came out and just know I wouldn't be able to recreate that perfectly on the other side Casual!
I think I am going to have to move this convo somewhere else Wolffie and Casual. WHich thread can I move it to, please. THis thread is only supposed to be for freebie requests.
Not sure, what ever the new script is going to be called would probably be best. If it's not been named yet....
Move it all here hon: http://www.daz3d.com/forums/discussion/56957/
Thanks Cho. Honey, why did my image land in Jacques post?? Should be in the "Here is a perfect example of a JCM I would LOVE to be able to mirror......." post! LOL
( if you re-post your image, i can delete it from my post )
i'll have ( i had to someday ! )to look into how you DS4/Genesis experts do the morph imports
Sorry about that Wolffie, sometimes a merge will do that with images. not qutie sure why.
I once merged several thread for a member and we ended up with about 25 images attached to one post, although you are only allowed to actually attach 5. Software is weird. :coolsmirk:
( if you re-post your image, i can delete it from my post )
i'll have ( i had to someday ! )to look into how you DS4/Genesis experts do the morph imports
HI,
Yes, please delete that image from you post sir.
I'm not in front of my work computer right now so I can't give feedback about the morph imports.. I'm in hairdresser mode right now... LOL
HI,
Yes, please delete that image from you post sir.
I'm not in front of my work computer right now so I can't give feedback about the morph imports.. I'm in hairdresser mode right now... LOL
looks like the pants pic is back in your post, and you inherited 1.21 gigawatts in the process :)
i'll test the idea right now
note that often, the things i do in my "laboratory" in 15 minutes take days to be made usable for everyone
1 - Fig 1. - i load Goth-Amy (Aiko3) and place her in an eXtreme pose, wearing low-poly short pants
2 - export the posed shorts figure using the obj Exporter's Daz presets under the name mcjA3Shortants6_rThighZRot70degrees.obj
3 - Fig 2 - Import mcjA3Shortants6_rThighZRot70degrees in Blender, making sure the "Keep Vertex Order" and PolyGroups" options are On
4 - Fix the problems
5 - Export it as mcjA3Shortants6_rThighZRot70degrees_Morph.obj making sure the "Keep Vertex Order" and PolyGroups" options are On
6 - i select the root bone of the pants
7 - I go in the DS menu Edit / Figure / Morph Loader pro
8 - well i was able to import the morph, but, a) unfortunately i had changed the pose on the left side and it became part of the morph and b) the morph strength to apply the morph is 5% instead of 100%
9 - taking it da capo
10 - Turns out that's not the problem, the problem is i didnt see/use that "“reverse deformations”" option RamWolf mentioned
11 - Fig 3 : there it is
12 - Fig 4: There it is, and the morph strength is 1 ( 100%) as expected
13 - i wont do the JCM rigging
14 - figuring how to mirror the morph using the upcoming mcjObjServer
Poor Aiko... yea, the Reverse Deformations option to Yes is a must.
Then make sure when you apply the "JCM" that you go into Edit mode (right click on the properties and select "Edit Mode" then in the shorts Left Thigh right click and select ERC and just make sure to only have the new morph you have imported in checked off. Uncheck any additional morphs that are in the list. Leave all three boxes below left of the ERC dialog checked.... Hit the Accept button and your done.
i wont get into ERCs but anyway the main task is mirroring the morph, any morph
Nice but will the script allow me to rename the morph target before applying it so it's not a complete duplicate? Not sure how DS will like that when the pants are saved out with identical names.. might return a duplicate ID error!
the script will create a morph with the same name plus a "mirror_" prefix
but i can also make the name editable
i almost finished writing the slow-but-Mac-compatible version
if the morph involves a few hundred vertices, and the clothes are a few thousand vertices, it should be able to mirror a morph within seconds or minutes
when the morph involves thousands of vertices and the figure is many tens of thousands of vertices, the mcjObjServer will come in handy
( i call it a server because the pc-win-app has a sustained conversation with the Daz script "client" )
success !
i'll post it on my site tonight
that's the slow-but mac-compatible version
it only works if each vertex on one side has a matching twin on the other side
On low-poly shorts it was done faster than i could measure
Cool and very good, glad you added the rename option. :-)
Slow-but MAC compatible version? So no Windows version available just yet? It's cool if not... just wondering.... :-)
PC and Mac compatible
but when the mcjObjServer accelerator comes out, it will be for PC only
without it, mirroring a morph on a 100000 vertices figure will take seconds instead of minutes, hours or days :)
--
i only have to make the thumbnail image and its ready
https://sites.google.com/site/mcasualsdazscripts5/mcjmirrormorph
mcjMirrorMorph for DS4.X PC/Mac version
right here : : : : https://sites.google.com/site/mcasualsdazscripts5/mcjmirrormorph
if you cant get the download from the attachments ( the blue down arrow )
then here's a direct link to the zip file
https://sites.google.com/site/mcasualsdazscripts5/mcjmirrormorph/mcjMirrorMorph.zip?attredirects=0&d=1
seems to work well with moderately-low-poly figures and moderately simple morphs
this version ( but maybe not the next one ! ) only works if your figure symmetry is near perfect ( but small symmetry errors are ok )
There should be a DS1, DS2, DS3 version soon
and also in the June-ish future there will be a PC-Only accelerator
which will also ship with mcjSpaceMorph
Thank you so much. I'm afraid that my pants verts are probably way over the limit! lol I don't really do low poly, it's probably more like med poly! ;-)~
i added a progress bar so you can interrupt the script if it's heading to take 1 day to complete :)
also i think scripts run faster in DS4 than they did in DS3
Cool and I'm running a 64 bit system, so not sure if that makes a difference?
i read that 64 bit doesn't really run faster but it does have access to more of your ram
5 meters bounces on a planet with 10m/s² gravity
1 second falls, 1 second ascensions