Redacted

cridgitcridgit Posts: 1,757
edited December 2022 in Daz Studio Discussion

Redacted

Post edited by cridgit on
«1

Comments

  • JimmyC_2009JimmyC_2009 Posts: 8,891
    edited December 1969

    I thought that DS4 on, had the ability to read the PMD file without a plugin? I am sure Richard will know. When saving from Poser, users were advised to not use External Binary Morph targets, and then this did not arise.

  • DavidGBDavidGB Posts: 565
    edited September 2012

    DS, since version ... 3. IIRC - will load pmd files called by cr2 figure files, and sometimes loads pmd files called by pp2 prop files (depending on the format of the pmd call in the pp2), but has never supported loading pmd files called by pz2 poses.

    Inject pmd is a plugin that allows loading pmds from pz2s, but has not been updated for DS 4.5.

    There are a few ways round the problem. If you have Poser, you cna load the figure, apply the pz2, save out the figure with 'use external morphs' turned off, and you then have a figure with the morph in that you can load into DS, and/or use assorted scripts/utilities to turn into a regular injection morph or an ExP morph.

    There is also at least one free utility and one paid for utility that will take a pmd file and put it into a figure file or regular injection pose file that will then work in DS without actually using Poser at all.

    Post edited by DavidGB on
  • JimmyC_2009JimmyC_2009 Posts: 8,891
    edited December 1969

    Thanks David for the explanation, my memory is a bit hazy at times :)

  • cridgitcridgit Posts: 1,757
    edited May 2022

    Redacted

    Post edited by cridgit on
  • DavidGBDavidGB Posts: 565
    edited September 2012

    cridgit said:

    Is this possible and what tools would you use to do something like this?

    Thanks

    No, that's not possible. The clothes will have completely different meshes to V4,so you can't apply the morph deltas from the V4 vertices to the clothing's vertices as the vertices don't correspond.

    I'm presuming yuou tried the Morph Exchange utility from kuroyumes-developmentzone, as you mentioned reading the cr2 spec at that site.

    Dimension3D has a pmd binary moph tool in a pack of tools, and his Poser Editor also contains a function to extract pmd morphs and embed them as regular morphs in the cr2 of figures they apply to. He sells these products at Renderosity and Content Paradise, and you can read descriptions and the manuals at his own site http://d3d.sesseler.de/

    However, there are also utilities for creating morphs in clothes to match the morpsh in the figure wearing them. The utilities use a brute force mathematical method of aomething like what you described - for the vertices of the clothing, checking the morph deltas of the nearest vertices of the wearing figure, averaging them and then morphing the clothing vertices by that amount.

    Now ...

    First, understand that all of the automatic clothing morph products never produce morphs as good as a carefully hand made one by the creator. Depending on the particular morph, the base figure and the clothing mesh the results can be really very good, OK only for a background figure, or terrible. Some of the methods allow features like defining some parts (like zips, buttons etc) not to be distorted, some don't, and some put in extra adjsutment morphs.

    Main products would be:

    Morphing Clothes by Dimensions3D

    Also a subsidiary function within Wardrobe Wizzard that comes with Poser. Older version from PhilC also works as a standalone program of use to DS-only users.

    (By 'Subsidiary function' I mean this program's primary purpose is to convert clothing from one figure to another, but it will also create and add morphs to the clothing from morphs in the figure.)

    However, for adding morphs to clothes for V4, personally I found I generally got the best results using magent sets for those morphs, wherein you apply the magnet set for the morph to the clothing, but can then adjust the magnets a bit to get the best fit and then spawn the morph in the clothing. I'm pretty sure there's at least one if not two sets of magnets for putting GND4 morph into V4 clothes. the usual suspects for that are Lyrra and Netherworks. I'll see if I can find links, but may be awhile ... got to take a pain break.

    Post edited by DavidGB on
  • DavidGBDavidGB Posts: 565
    edited December 1969

    Lyrra.

    http://www.cyclopsstudio.net/gnd4magnets.htm

    Her magnet sets work fine in DS as well as Poser. In fact using this kind of morph magnet set is easier in DS as DS includes various related functions that Poser doesn't, so in Poser you have to do things the hard way, or get assoretd add-on scripts.

    These will be for the original GND4. I gather there's been a recent update. Don't know how much the body shape has changed, but I wouldn't imagine it would need much tweaking of the magnets.

    Oh - ,missed out one obvious option.

    DS has a built in function to try to create matching morphs in clothes from the figuire wearing the clothes. In DS4.5 it is called 'transfer active morphs' in the menus. Just load V4, dial up GND4, then load clothes, conform, then use 'tramsfer active morphs'.

    It is a brute force and ignorance mathematical mehtod like I decribed earlier, though, and e.g. doesn't know it's supposed to keep a button round, a zip the same width all the way along etc. (There is a function to handle that by defining rigidity groups for Genesis clothes, but I don't thinl that applies to V4, non-triax clothing.) Try it first, but if you don't like the output, maybe get and have a go with the GND4 magnet set.

  • DavidGBDavidGB Posts: 565
    edited December 1969

    I really shouldn't try to post advice when I'm so muzzy, and am only remembering and writing things in a random order. The stuff in my posts above is correct, but jumbled instead of ordered to address your situation. Without repeating the detail -

    If you have a general need to be able to get morphs out of pmd files and into regular Poser format files, then consider the Dimension3D utilities for that.

    If, however, your principal concern is fitting clothes to a GND4-morphed V4, including clothes for which there are no pmd morphs available, then I'd leave aside the whole pmd business if I were you and just concentrate on the methods of making clothes fit yourself as follows:

    If you are only concerned with GND4 fits for V4 clothes on V4, then if I were you I'd try the transfer active morph function in DS - costs nothing extra. If the results are good enough for you, then fine. If not, then I'd go for Lyrra's GND4 morph fit magnets as linked above.

    If, however, you have a general need to add morphs, not just GND4 morphs, to V4 clothing then I'd consider either (a) the Lyrra GND4 morph pack plus some fo the other V4 morph fit packs from either Lyrra or Netherworks, Or (b) Dimesion3D's morphing clothes.

    If, last of all, you actually want to use Genesis, e.g. with the V4 morph shape and the GND4 morph transferred by GenX, then scrub all the above, let the autofit handle it, and if that's not good enough results, maybe learn about adding rigidity groups after clicking to convert legacy V4 clothing to Triax before then using the transfer utility to convert to Genesis, so the automatic GND4 morph creation in the now-Genesis clothing keeps pockets, zips, buttons etc how they should be.

  • mjc1016mjc1016 Posts: 15,001
    edited December 1969

    Why not load the items in DS3 and use InjectPMD there and then save them?

  • GranvilleGranville Posts: 679
    edited December 1969

    I have used the DS3 method with Ds4. Can anyone confirm that it works with ds4.5

  • cridgitcridgit Posts: 1,757
    edited May 2022

    Redacted

    Post edited by cridgit on
  • BejaymacBejaymac Posts: 1,835
    edited December 1969

    I take it Alizea3D has changed how the files were made, as I have most of the early GND4 fits and they are PZ2 INJ/REM's with a python script to create the custom channels. Needless to say they don't work in DS as it can't read python, so I got rid of the python script, changed the files extention from PZ2 to CR2 and added a "readscript" line to it that pointed to the outfits own CR2.

    What this does is load one CR2 with another one, and while it's doing that it also adds the new channels for you, which means you now have somewhere to INJ the morphs.

    Same thing can be done with Injection PMD's, add a "readscript" line before the call for the PMD that points to the other CR2, and change the "injectPMDFileMorphs" to "morphBinaryFile" and it should load the outfit with the new morphs.

  • cridgitcridgit Posts: 1,757
    edited May 2022

    Redacted

    Post edited by cridgit on
  • evilded777evilded777 Posts: 2,437
    edited December 1969

    so if I understand this correctly, DS should automatically load pmds for CR2's and pp2's that have them.

    This is not a behavior I am observing at the moment.

    I just loaded a pp2 file (window blinds from PICK), and the morphs do not work at all. Had to scatch my head and think about that. Went looking and sure enough there is a pmd file associated. But the morphs do NOT function in DS 4.5. Do not know if it is just this particular object, or an overall issue. Not sure what other items I might have to test with.

  • ScoopeyScoopey Posts: 190
    edited December 1969

    I can assure you PMD's do not work with CR2's at all as far as my experience is concerned with Daz 4.5

  • mjc1016mjc1016 Posts: 15,001
    edited December 1969

    So is it beginning to look like PMD injection is broken, over all in 4.5?

  • gingercakes47gingercakes47 Posts: 382
    edited December 1969

    It appears as if it is broken and have been looking for a way around this, myself.

  • cridgitcridgit Posts: 1,757
    edited May 2022

    Redacted

    Post edited by cridgit on
  • BejaymacBejaymac Posts: 1,835
    edited December 1969

    The pic is G4 wearing Honey by 3D_Age, the morphs on it are in PMD format and as you can see they work quite well, so for me at least PMD's do work when loaded by a CR2, so guys if your having issues with them in CR2, PP2 & HR2 then let us know what the products are, that way someone might be able to help you.

    G4_PMD.jpg
    364 x 568 - 125K
  • JimmyC_2009JimmyC_2009 Posts: 8,891
    edited December 1969

    What version of DS 4.5 are you using?

  • BejaymacBejaymac Posts: 1,835
    edited December 1969

    The beta, but it also worked for me with 4.5.0.114.

  • JimmyC_2009JimmyC_2009 Posts: 8,891
    edited December 1969

    Bejaymac said:
    The beta, but it also worked for me with 4.5.0.114.

    Thanks, I will give it a try later, I am using the Beta as well.

  • BejaymacBejaymac Posts: 1,835
    edited September 2012

    @ cridgit, my bad, I forgot that those are FBM's, as a result only the Body dial is created, and none of the important body part dials are, sadly to get this to work takes a bit more than a quick hack of the files.

    Having said that copy and paste this chunk of code into an empty CR2 and you'll be able to use it for the Morphing Fantasy Dress ;-)

    {
    version
     {
     number 6
     }
     
    readScript ":Runtime:Libraries:Character:V4 Morphing Clothes:Fantasy Dress.cr2"
    morphBinaryFile :Runtime:Libraries:Alizea3D:GND4 clothing fits:MorphingFantasyDress:MFD.pmd
    
    actor BODY:1
     {
     channels
      {
      valueParm GND4
       {
       keys
        {
        k 0 1
        }
       }
      }
     }
    actor hip:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor abdomen:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor chest:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor neck:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor lCollar:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor lShldr:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor lForeArm:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor rCollar:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor rShldr:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    actor rForeArm:1
     {
     channels
      {
      targetGeom GND4
       {
       valueOpDeltaAdd
        Figure
        BODY:1
        GND4
       deltaAddDelta 1.000000
       useBinaryMorph 1
       }
      }
     }
    }
    

    The MFD is the only outfit there that I have, so this might work for the others if you change the two paths, but then again it might not.

    Post edited by Bejaymac on
  • gingercakes47gingercakes47 Posts: 382
    edited December 1969

    It's not the CR2's I'm having problems with, it's when I'm using a PZ2 that uses PMD to make a new character. It's very frustrating as all who've been trying to do this using 4.5.

  • BejaymacBejaymac Posts: 1,835
    edited December 1969

    Until Delta comes up with a version of his plugin that works in 4.5, that (points at previous post) is about the only way (outside of Poser or DS3 + FST) to get PZ2 INJection PMD's to work in DS4.5.

  • cridgitcridgit Posts: 1,757
    edited May 2022

    Redacted

    Post edited by cridgit on
  • BejaymacBejaymac Posts: 1,835
    edited December 1969

    Change this part -

    actor BODY:1
     {
     channels
      {
      valueParm GND4
       {
       keys
        {
        k 0 1
        }
       }
      }
     }
    

    To this -
    actor BODY:1
     {
     channels
      {
      valueParm GND4
       {
       name GND4  <<<<<< add this line
       keys
        {
        k 0 1
        }
       }
      }
     }
    

    and you'll have a name on the dial ;-)
  • cridgitcridgit Posts: 1,757
    edited May 2022

    Redacted

    Post edited by cridgit on
  • MirkadesignsMirkadesigns Posts: 1
    edited December 1969

    Can anybody tell me how to solve this issue. I bought Minwee for Mavka and as of yet can not for the life of me get it to work. I have downloaded the free inject pmd plugin but if I go to the plug in list it shows a red icon and says plug in failed. I am using daz 4.5 pro PLEASE PLEASE CAN SOMEONE HELP

  • wancowwancow Posts: 2,708
    edited December 1969

    Am having the exact same issue with the DieTrying 182 Morphs for V4... durnit... I have the ones Sickleyield converted for Genesis, they work great, but the ones for V4 do not... I'm using D|S 4.5.2.40 Beta... :(

  • myquadmyquad Posts: 7
    edited December 1969

    i'm using 4.7 almost 2 years later and there's still a problem with this issue?
    i'm using noggin's macaw and getting severe distortion when posing.
    i don't have poser. i do have daz 3.1. i have no clue how to inject PMD.
    IS THERE A STEP BY STEP WAY TO DO THIS OR A FIX FOR THIS PROBLEM YET?
    i've invested a ton of money in content here that won't work in daz 4.7.
    any help or suggestions would be greatly appreciated.

    animal_distortion.jpg
    370 x 467 - 10K
Sign In or Register to comment.