1. The space forums use a separate registration system from the main virtual world. To comment on these forums, you need to create a separate forum account.
    Dismiss Notice
  2. Hey there, if you want some direct help without hopping inworld - try our Discord channel at https://discord.gg/mptfycQ
    Dismiss Notice

Scale issues with blender and how to overcome them

Discussion in 'HOWTOs' started by Eldritch, Mar 2, 2018.

Share This Page

  1. Eldritch

    By:EldritchMar 2, 2018
    New Member

    Joined:
    Oct 31, 2017
    Messages:
    3
    Likes Received:
    6
    When setting up a scene to design clothing in blender the first thing you do of course is import the avatar as a base.
    [​IMG]
    And you will notice all the bones are positioned vertically. Which looks wrong. The armature/skeleton bones are usually aligned inside the mesh like an actual skeleton. You first reaction might be to fix the bone orientations.
    [​IMG]
    Under the FBX importers armature section you can enable Automatic Bone Orientation as shown. Which will give you something like this.
    [​IMG]
    See, all nice and aligned. And a disaster waiting to happen. NEVER DO THIS. Import the model unaltered. As shown in the first image. Then build your mesh around it.
    [​IMG]
    Your mesh is all finished and ready to export. Select the skeleton and press ctrl-a. Then apply the scale so X, Y, and Z are all 1. Then select the skeleton and your mesh and export. Export as DAE for best results. If you export as FBX it will cause more issues. Now import your DAE in to your unity editor.
    [​IMG]
    Drop the object in the hierarchy and expand it. Double check all your scales and rotations. Your scales should all be 1 for the main object the reference and the main object mesh. Zero up the X rotation on the main mesh to -90. Apply your clothing settings and prepare the mesh. It should generate deletion zones and tucking properly. Apply virtual good component and upload and you should be set.
     
    Aribeth likes this.
  2. Adam

    By:AdamMar 2, 2018
    Developer
    Staff Member Moderator

    Joined:
    Aug 21, 2014
    Messages:
    695
    Likes Received:
    137
    Thankyou! Big help - would you mind posting the DAE export settings too - or are you using the defaults?
     
    Aribeth likes this.
  3. Eldritch

    By:EldritchMar 2, 2018
    New Member

    Joined:
    Oct 31, 2017
    Messages:
    3
    Likes Received:
    6
    Yes Just the defaults. Tried to keep settings as simple and straightforward as possible. If you export with FBX the Armature will always be 0.01 scale no matter if you apply scale or not. Though you can disable "File scale" once imported and then set the scales apropriately. But that's why I chose DAE over FBX.
     
    Aribeth likes this.