obj is importing to the wrong location

obj is importing to the wrong location

 

it was importing fine, didnt think I clicked any other settings on the import window, has something been changed in it that is causing imported obj's to be brought in way off to the side?

2023-10-24_064921.png
2384 x 757 - 310K

Comments

  • VicSVicS Posts: 1,273

    it is only the left shoe that is importing out of plsce, the right shoe is importing fine

  • felisfelis Posts: 4,272

    Do they come as a pair, or is it 2 seperate files?

    And where does the shoe end up?

  • VicSVicS Posts: 1,273

    they are seperate, right shoe comes in corrrect, left shoe is where it is shown in the image

  • felisfelis Posts: 4,272

    It looks like it comes in, in the same position as the left, mirrored around the Z axis.

    Is it modelled off center?

  • VicSVicS Posts: 1,273

    it it fits on the foot correctly, i sent the right foot for someone t put uv on it for me, then he sends back the pair he said it mirrored correctly in blender

  • Well, it looks as if the figure is well off centre - did you make the shoe by mirroring the one that was correctly place? The offset looks like a mirror image of the correct shoe.

  • crosswindcrosswind Posts: 6,838
    edited October 2023

    Was you G8's Transform is at XYZ (0,0,0) in Blender before making shoes ? And you made a shoe on one side, then someone Mirrored it on X axis and UV-unwrapped? Like my screenshots down below ?

    If not, I assume there was a wrong Transform and/or Mirror operation. You'd better ask for the .blend file that 'someone' worked with...  It should be a simple process as long as one knows the rigging mechanics of in DS before making Wearables in other software.

    SNAG-2023-10-25-0002.png
    2560 x 1400 - 803K
    SNAG-2023-10-25-0003.png
    2560 x 1400 - 808K
    Post edited by crosswind on
  • lilweeplilweep Posts: 2,476

    well move it then

  • VicSVicS Posts: 1,273

    i zeroed g8f to make sure and she is zeroed in the center and the right foot importys fine

    it always mirrors fine onto the left foot until now

    ok  thanks

     

    because will take a long time to do that for every shoe lilweep 

  • BejaymacBejaymac Posts: 1,886

    First go edit>preferences (F2 on windows), Interface tab, about half way down you'll see "BackFace Lighting" turn it off.

    Second set the viewport to smooth shaded

    If the mesh shows as black then it was "mirrored" either on import into DS, or on export from another program, and is now inside out.

    To fix select the mesh and use one of the scale sliders (probably X) and set it to -100%, this will "un-mirror" the mesh.

    Now you have export the mesh as OBJ to lock in the changes, use the DS export preset.

    Delete the bad mesh and load in the one you just created.

  • UncannyValetUncannyValet Posts: 179
    edited October 2023

    VicS said:

    it always mirrors fine onto the left foot until now

     

    When you say "it mirrors fine" what do you mean by that?   Are you the one doing the mirroring in Daz by flipping the X scale?

    If you arent i would suggest trying that to get the second shoe into place, and then export to blender and recalc normal outside to make sure normals are on the outside (as usually mirroring like this flips the normals). 

    To be honest, I was having a hard time following this thread as you say the character has been centred at 0,0,0 but clearly it was not centered in the original screenshot.  Maybe that transformation away from centre is the source of your problem?  But again a little confused because you say it was mirroring fine "until now" which suggests this workflow was working for you before, even though it was off-centre?

    Post edited by UncannyValet on
  • VicSVicS Posts: 1,273

    mirror in blender always has gone fine I mean and imported fine

  • UncannyValetUncannyValet Posts: 179
    edited October 2023

    VicS said:

    mirror in blender always has gone fine I mean and imported fine

    Piecing together info provided in the thread, I assume what happened is that you had originally translated and rotated your character away from the world center.  Then you have lined up a shoe with this figure, then provided that shoe to someone else, who mirrored it in external software. When they mirrored it, they would have done so around the center axis, and since your character is not at center, it will not line up with character's center axis.

    So issue is nothing to do with import or mirroring in external software, issue is to do with original translation of figure away from world center.  

    There might be an easier solution, but one workaround could be:

    1. import right shoe (the correctly positioned one)
    2. parent the shoe to figure
    3. bring figure back to 0,0,0 and remove any rotations on figure.  The right shoe should still be lined up correctly to the figure  and the figure is now at world origin.
    4. export updated right shoe (to bake the new position)
    5. reimport the updated right shoe
    6. mirror shoe by scaling x-axis -100% to get left shoe
    7. export updated left shoe
    8. Optionally, can recalc normals in Blender for the left shoe, since it will most likely have flipped normals after doing the x-scale
    9. import both updated right and left shoes
    Post edited by UncannyValet on
  • VicSVicS Posts: 1,273

    thanks for everyone's input, problem for now has been solved

Sign In or Register to comment.