[Solved (user headspace error)] Can’t load alternate UV from obj

EsemwyEsemwy Posts: 578

For those thinking this might contain a solution to their problem, it won't, unless you're making the same dumb mistake that I did and remembered "update base geometry" as "load UV."

This is the first I’ve tried this with 4.11, but I've done it may times before. I've modified the UV of an object in Blender and try to load it into DAZ ( [Surface tab menu] Load UV Set...). In most cases, the UV loads without complaint, but the surfaces don't change when I choose the set. In one case so far I get a dialog saying "Creating New UV Set", "Could not find matching facet for discontinuous vertex XXXX", where XXXX scrolls through a bunch of numbers. Regardless, the UV loads and I can change it in the Surfaces tab, but the surfaces stay the same. If I import the object, it's as I expect. Has anybody else seen this? Has the procedure changed and I didn't notice?

I'm using a procedure as described here on dA, using Blender 2.79b.

Post edited by Esemwy on

Comments

  • The process has worked OK for me in 4.11.  When the modified UV set loads but you don't see any change in the surfaces when you apply the new UV set, is there any information in the DS log file?  Do the new UVs look different in the UV view in DS?

    The matching facet and discontiguous vertex message suggests something about the model the DS doesn't understand when you import it.  The number(s) may be vertex IDs, and you can identify vertices by their IDs in Blender (via scripting).  Or just riy selecting 'non-manifold geometry' in Blender.  I guess you are aware of and have checked all the usual gotchas such as maintaining vertex order that arise when exchanging data between DS and Blender.

  • EsemwyEsemwy Posts: 578

    The process has worked OK for me in 4.11.  When the modified UV set loads but you don't see any change in the surfaces when you apply the new UV set, is there any information in the DS log file?  Do the new UVs look different in the UV view in DS?

    The matching facet and discontiguous vertex message suggests something about the model the DS doesn't understand when you import it.  The number(s) may be vertex IDs, and you can identify vertices by their IDs in Blender (via scripting).  Or just riy selecting 'non-manifold geometry' in Blender.  I guess you are aware of and have checked all the usual gotchas such as maintaining vertex order that arise when exchanging data between DS and Blender.

    Yeah. There’s absolutely nothing in the log, even with the one that gives the discontinuous vertex messages. I’ve even tried doing this on a primitive plane with 2 divisions. 

  • Just tried again, using 4.11.0.383, and it's worked. 

    • Exported a primitive sphere to OBJ from DS, checked UVs written;
    • imported into Blender; created a UV grid image and saved it; made an obvious UV modification, noted the effects on the appearance;
    • Exported to OBJ, with 'Include UVs' option checked.
    • Selected 'Load UV Set'; selected the exported OBJ; named the new UV set when prompted.
    • Selected the new UV set from the UV set dropdown.

    The appearance changes exactly as it did in Blender.  The UV layout also reflects the changes in the UV View in DS.  The log file just says 'Reading SphereUV.obj' and 'Geometry imported: SphereUV.obj'. 

    Not sure what to suggest.  It could be something so obvious you have not thought to check it.

  • jestmartjestmart Posts: 4,449

    If you are using a genesis 8 you need to either delete or hide the eyelashes geograft before exporting.

  • EsemwyEsemwy Posts: 578
    jestmart said:

    If you are using a genesis 8 you need to either delete or hide the eyelashes geograft before exporting.

    Yeah. Just working with props and clothing, so not applicable. 

  • EsemwyEsemwy Posts: 578

    @andya_b341b7c5f5 Can you post your modified sphere .obj so I can determine whether it's DAZ or Blender where things are going wrong?

    Just tried again, using 4.11.0.383, and it's worked. 

    • Exported a primitive sphere to OBJ from DS, checked UVs written;
    • imported into Blender; created a UV grid image and saved it; made an obvious UV modification, noted the effects on the appearance;
    • Exported to OBJ, with 'Include UVs' option checked.
    • Selected 'Load UV Set'; selected the exported OBJ; named the new UV set when prompted.
    • Selected the new UV set from the UV set dropdown.

    The appearance changes exactly as it did in Blender.  The UV layout also reflects the changes in the UV View in DS.  The log file just says 'Reading SphereUV.obj' and 'Geometry imported: SphereUV.obj'. 

    Not sure what to suggest.  It could be something so obvious you have not thought to check it.

     

  • EsemwyEsemwy Posts: 578

    So, I modified a UV entirely in Studio. I then exported it and loaded it as a new UV on the original object (a sphere). I can switch to the new UV, but the surfaces don’t change. What the heck is going on? Any guesses welcome. 

  • Esemwy said:

    @andya_b341b7c5f5 Can you post your modified sphere .obj so I can determine whether it's DAZ or Blender where things are going wrong?

    Sorry, I missed your request till now.  I tried to attach the OBJ file, but got a message that file type is not allowed.  Best I can do is attach the scene file containing the sphere with two UVs, default and modified.  Apparently that type of file is OK.

    I'm curious as to how you have modified a UV layout entirely in Daz Studio?  I wasn't aware DS had any UV editing capabilities.

    duf
    duf
    SphereUV.duf
    26K
  • Richard HaseltineRichard Haseltine Posts: 102,718

    What are you trying to do? UV Set is a surface setting, it can't be used to regroup the model

  • EsemwyEsemwy Posts: 578

    Maybe I'm misremembering what I did before. I'm trying to split a surface into two or more surfaces. I've done this before to separate the trim from the clothes proper. Is what I'm after "update base geometry"? Hmmm... apparently so. Getting older sucks! Guess it's time to start writing stuff down. Thanks anyway guys!

  • Richard HaseltineRichard Haseltine Posts: 102,718

    You can also do that with the Geometry Editor tool

  • EsemwyEsemwy Posts: 578

    Yes. My problem was entirely conflating one thing with another. I've spent too much time writing scripts and not enough actually working on content.

    You can also do that with the Geometry Editor tool

     

Sign In or Register to comment.