Converting G3 Poses to G2! IT WORKS!

24

Comments

  • 3Diva3Diva Posts: 11,716
    MCphylyss said:

    Hi everybody. Thank you for all those positive feedbacks.

    I coded scripts for G2 to G3, they work exactly the same as G3 to G2 ones, although forearms are pretty wrong. Once again, I think zev's one is much better. (.txt file must to be renamed as a .py)

    I think I could improve all scripts by adding a fix var, especially for forearms and hands, but i have not the time to do this right know.

    Awesome! Great script! :D Thank you so much! 

  • You're welcome, glad it helps

  • WF3DWF3D Posts: 44

    I did some more testing with the partial poses, hoping to add a partial pose to an otherwise full pose - and no-go.  When using a partial pose with the batch script, it changes the entire pose.  Still, the batch script converter is a lifesaver - it just means that I need to use my Zeddicuss and ironman13 partial poses for G2F when needed. 

  • Yeah, I didn't understand your last post... If you use the dsa script, you obviously can use partial poses, since the goal here is to mimic the other model. But the python script reset all bones if there's no rotation on the original pose. In fact, that was a personal choice to avoid bugs when bones rotations are'nt specified. I can easily change that, it's almost nothing. but I think it's more 'dangerous'. Still, if you want, I can post an other version tomorrow, which will accept partial poses (very few work, really). Let me know if you need to.

  • WF3DWF3D Posts: 44
    MCphylyss said:

    Yeah, I didn't understand your last post... If you use the dsa script, you obviously can use partial poses, since the goal here is to mimic the other model. But the python script reset all bones if there's no rotation on the original pose. In fact, that was a personal choice to avoid bugs when bones rotations are'nt specified. I can easily change that, it's almost nothing. but I think it's more 'dangerous'. Still, if you want, I can post an other version tomorrow, which will accept partial poses (very few work, really). Let me know if you need to.

    No need to worry about that, at least for me - the script as-is already solves a major hurdle for me :-)   Partial poses are nice, but I have enough already for G2F that I can apply those if needed. 

  • IvyIvy Posts: 7,165

    Sweet ! Thanks a lot  Both scripts works really great. took me a few minutes to work out the phyon though..lol . but i was able to batch convert my whole 3f pose folder  

  • wargiswargis Posts: 142

    Thank you so much, MCphylyss, you made my day! Your scripts work nice on a majority of full-body poses and now I am able to use G3F's poses on my favourite old G2F. I knew that it was possible and I got this possibility finally. 

  • LyoneLyone Posts: 139
    edited January 2017

    Thank you very much, McPhylyss, Outrider42 and divamakeup. I tested the script and it works very well. I'm so happy to be able to use G3M and G3F poses on G2M and G2F. I like also that you can use G3F pose on G2M or vice versa.

    Well done!

    Post edited by Lyone on
  • wargiswargis Posts: 142

    Nice script, MCphylyss! I've got your PM via e-mail, but my current browser doesn't allow to reply via my account (some conflict with new site settings), so I reply in this thread. I tested te script for converting poses from Genesis 3 to Genesis 2 and it works like a wonder for FBM poses and common bones, but sometimes I've noticed changes in rotation of the whole figure. That is after applying converted poses the figures of Genesis 2 move aside from Genesis 3 and zero point or have another horizontal rotation.  (Tested in DS 4.9 beta, so I don'know whether it happens in other Studio versions). It can be easily fixed manually, but I remember that in the thread about G2-to-G3 commercial converter someone posted the exact number of rotation differences between Genesis 2 and Genesis 3.It would be nice to have automatical rotation fixing included in the scripts. As for the rest, cloned poses are rather precise, and need only minimal adjusting. Even finger positions are very close, which is very cool for me (hate fixing hand poses). You did great work for all us.

  • ScavengerScavenger Posts: 2,674

    Brilliant!

    I got two of Zeddicus's free poses that she made for both G2 and G3, and were going to compare them side by side to see what ='d what across generations and then work up a perl or python script to filp the text as neccessary... you beat me to it and did a far better job than I'd have done!

    Can't wait to give this a try.

  • Thanks for those replies.

    @ Wargis : Not sure I'm understanding everything you told, but :

            - The script doesn't modify the whole figure rotations (and translations neither) It could easily be done, I will if you want to. For me, I just don't like when I placed a character in a scene, to apply a pose which resets x/z translations to 0/0, and that's the same for rotations.

            - You spoke about "exact number rotation differences between G2 and G3". If that's what I think, I'll be glad if you linked me that, I could then apply an auto-correction. I wanted to do that, but had not the time to manually find differences for each bone (I'm working on a morph converter, which is far more important for me)

            - There still is a mistake I've done in the conversion map, on toes. If you want to correct that, just remove "lSmallToe4_2", "lSmallToe3_2", "lSmallToe2_2", "lSmallToe1_2", "lBigToe_2" from the line two of the script, and same for right toes.

     

    @ Scavenger :

    Thanks for that comment. My algo is more than simplistic, I'm just doing a correspondence between both skeletons, without even applying any corrections. If you have a pose set G2 G3 compatible,you effectively can compare bones difference to get a 'corrections map'. I didn't thought to that, and I think that's pretty smart. Feel free to modify my script if you want to, but the python code is a bit dirty and absolutely uncommented... I could do it later if you want, but I'll wait a little for Wargis who may have found an already done correction map.

  • Stryder87Stryder87 Posts: 899

    This is such an awesome script/  Thanks so much!

    One question; if I run this script on all my G3F poses, then buy more, what would happen if I ran the script again on the main pose folder where most of the installed poses were already processed?  Would it duplicate the conversion folder or skip the ones that were already done and only process the new ones?

  • outrider42outrider42 Posts: 3,679
    Stryder87 said:

    This is such an awesome script/  Thanks so much!

    One question; if I run this script on all my G3F poses, then buy more, what would happen if I ran the script again on the main pose folder where most of the installed poses were already processed?  Would it duplicate the conversion folder or skip the ones that were already done and only process the new ones?

    I'm not sure, I just deleted the conversion folder before running the script again. The script is so freakin' fast that this was just as easy.

  • wargiswargis Posts: 142
    MCphylyss said:

    Thanks for those replies.

    @ Wargis : Not sure I'm understanding everything you told, but :

            - The script doesn't modify the whole figure rotations (and translations neither) It could easily be done, I will if you want to. For me, I just don't like when I placed a character in a scene, to apply a pose which resets x/z translations to 0/0, and that's the same for rotations.

            - You spoke about "exact number rotation differences between G2 and G3". If that's what I think, I'll be glad if you linked me that, I could then apply an auto-correction. I wanted to do that, but had not the time to manually find differences for each bone (I'm working on a morph converter, which is far more important for me)  

    This rotation difference was mentioned in that thread - http://www.daz3d.com/forums/discussion/58837/v4-pose-converter-for-genesis-1-genesis-2-female-commercial/p4. ; An user had converted V4's pose to G2F and then to G3F and had the figure upside-down. Another user mjc1016 wrote that

    "Actually, it is due to the fact that G3F has 'Use Limits' turned on for the hip rotation AND the limit is -180.  It hits the limit and doesn't rotate the other -176 degrees (and change).  If there are no other odd rotations anywhere, you can change the original rotation from -356.54 to 3.46 and still start in the same place. G2F has the limits turned on.  That's what is stopping the converter from making the full -356.54 rotation. Changing the rotation in the original pose to 3.46 (-356.54 + 360 = 3.46) to keep the original position, but be within the limits."

    I though maybe it's the reason of changes in my rotation of figures and may help in such cases. I tested this script at first  on Fashion Model Poses for G3F, which were included as I can recall in the basic set of Genesis 3 Female, and firstly noticed rotation changes within this set. The same was with several custom-made poses from commercial packages but I think the basic initial poses of G3F are the best sample. Maybe it happens because of the version of DS 4.9 (I use beta for compatibilyty with other older builds) and doesn't show up in more stable builds.

  • This is such a fantastic discovery!  Thank you for sharing this with us.  For ages I've wanted to use gen 3 poses to gen 2.  Thank you :)

  • @ Stryder 87 : If you convert your whole folder again, every pose will be converted, even those who are already done. Files will be overwritten if needed.

    @ Jay Jay : Thanks^^

    @ Wargis : Thanks for the link, Now I understand what you meant. I just tested on my DS (4.8.0.59 pro, I think it's a beta), and for me, rotations limits is not a problem. I just tryed to put a 10000° rotation on a bone from a duf file, and it worked. The reason why your converted file has not same rotations as the original is just that for now the script dont even look to the 'genesis' node translations/rotations. I'll add it to the script and then poste it, with the toes corrections. But before to do that, I'll look for Scavenger's idea. I think it could add an efficient auto-corrections to bones like forearms, shoulders, shins etc...

  • Very useful script. Thanks!

  • ZamuelNowZamuelNow Posts: 753

    Oh wow, I really need to try this out!

  • This is a wonderful script and application, I tried with one G3 free pose set and it worked. Is there any similar script for V4 to G2 of G3.

  • WF3DWF3D Posts: 44

    This is a wonderful script and application, I tried with one G3 free pose set and it worked. Is there any similar script for V4 to G2 of G3.

    I have not seen any free scripts to convert from V4 or newer platforms, but there are two very good scripts here at Daz which I use often: V4 Pose Converter for Genesis and Genesis 2 Female(s) and Genesis 2 to Genesis 3 Pose Converter.  I have also tried converting V4 poses to G2F and then converting again from G2F to G3F, and the poses hold up rather well. 

  • Well...this has been a while.

    I got the PM a while back and just now came to look at everything...

    So...another question.  Do the batch files recreated the directory structure in the new folder, or do they dump everything into one folder?

  • wargiswargis Posts: 142

    Hey, doesn't someone know how to fix hand posing issues after conversion from G1 and G2 to Genesis 3? This problem occurs in many pose sets, and I noticed it more often in commercial converters.The only decision which exists today is that old Handy Dandy script. It was very helpful when I converted poses from G1 to G2, but with G2 to G3 it doesn't work as well. How to make a new preset for Handy Dandy to fix hand and finger poses from G2 to G3? If I guess right, presets contain posing differences between zero posed hands of Genesis 2 and Genesis 3, but if the hands are zeroed in both cases, how to figure out these differences? It would be cool to have this Handy tool updated for Genesis 3.

  • Thanks! really usefull! laugh

  • @Wargis : Sorry, I don't really have the time to solve this right now, but I'm pretty sure I made a mistake in the conversion map, as I don't really know G3 skeleton. If you're familiar with python, or at least programation basis, You could fix this quite easily. In the first lines of the code, you will see two arrays : one is G2 bones, and the other is corresponding G3 bones. You just have to remove bones like 'lCarpal2', 'lThumb2' etc from that second array, and results should be 'less crappy'. In fact, I began a new version that solve that, and other things people asked for, like partial poses, main bone transformations, plus a bug fix when you convert several times your poses folder, but I just had no time to test it...

  • you're the champ man 

  • freni-kynfreni-kyn Posts: 394

    Oh wow!  Thanks so much.  I really needed this.

  • WF3D said:

    This is a wonderful script and application, I tried with one G3 free pose set and it worked. Is there any similar script for V4 to G2 of G3.

    I have not seen any free scripts to convert from V4 or newer platforms, but there are two very good scripts here at Daz which I use often: V4 Pose Converter for Genesis and Genesis 2 Female(s) and Genesis 2 to Genesis 3 Pose Converter.  I have also tried converting V4 poses to G2F and then converting again from G2F to G3F, and the poses hold up rather well.

    There is indeed a free converter script that will take you all the way from A3 and V4 all the way to V7. I use it myself whenever I have unscheduled downtime and want to convert older poses to newer figures. You can find it here:

    http://www.sharecg.com/v/76667/browse/8/Script/Updated-Daz-Studio-Posing-Scripts-now-for-G3F

     

     

  • WF3DWF3D Posts: 44
    WF3D said:

    This is a wonderful script and application, I tried with one G3 free pose set and it worked. Is there any similar script for V4 to G2 of G3.

    I have not seen any free scripts to convert from V4 or newer platforms, but there are two very good scripts here at Daz which I use often: V4 Pose Converter for Genesis and Genesis 2 Female(s) and Genesis 2 to Genesis 3 Pose Converter.  I have also tried converting V4 poses to G2F and then converting again from G2F to G3F, and the poses hold up rather well.

    There is indeed a free converter script that will take you all the way from A3 and V4 all the way to V7. I use it myself whenever I have unscheduled downtime and want to convert older poses to newer figures. You can find it here:

    http://www.sharecg.com/v/76667/browse/8/Script/Updated-Daz-Studio-Posing-Scripts-now-for-G3F

    Oh my - how did I miss this!?!  Thanks for posting this - this script set should be quite useful! 

  • sapatsapat Posts: 1,735

    OMG, thank you sooooooooo much for this script.  I just created a new thread today asking about this and then found this thread in a Google search!  It worked like a charm and so quickly.  All I had to do was decrease the bend in G2F right toes and otherwise it was identical.  Am attaching a quick and dirty render to show you.  I still have to convert a V4 skin for G2F to wear, and pose her skirt, but the pose is what I was worried about.

    My life will never be the same. laughyes

    g2f with g3f pose.jpg
    701 x 782 - 56K
  • WayneXWayneX Posts: 52

    You rock! I actually needed this and I didn't think there was any hope for this seemingly impossible task. Thank you! 

Sign In or Register to comment.