1. Welcome to VRCat! Please note that this message board is not related to VRChat in any official manner. It is run entirely by the community, and moderated by the community. Any content present has not been reviewed by VRChat moderators or staff. Your use of these forums implies understanding of this message. Thanks!
    Dismiss Notice

Avatars Cats Blender Plugin (0.11.2)

Discussion in 'Tutorials and Tools' started by GiveMeAllYourCats, Nov 15, 2017.

  1. Slushe

    Slushe New Member

    Joined:
    Apr 6, 2018
    Messages:
    3
    Likes Received:
    0
    VRChat:
    Slushe
    Thank you. I got pretty tilted yesterday just thinking about all the manual editing I would have to do in Unity's laggy ui windows.
     
  2. shotariya

    shotariya Member

    Joined:
    Nov 16, 2017
    Messages:
    22
    Likes Received:
    16
    VRChat:
    shotariya

    You have some broken UV verts, run this code in blender Text Editor to be able to save:
    Code:
    import bpy
    import math
    
    scn = bpy.context.scene
    
    for obj in scn.objects:
        if obj.type != 'MESH': continue
        for uv in obj.data.uv_layers:
            for vert in range(len(uv.data) - 1):
                if math.isnan(uv.data[vert].uv.x):
                    uv.data[vert].uv.x = 0
                if math.isnan(uv.data[vert].uv.y):
                    uv.data[vert].uv.y = 0
    
    
     
    #322 shotariya, Aug 18, 2018
    Last edited: Aug 18, 2018
  3. Hotox

    Hotox Member

    Joined:
    Nov 19, 2017
    Messages:
    103
    Likes Received:
    45
    VRChat:
    Hotox
    Hey, this looks like a fine piece of code. Would you mind if I put this into cats?
     
    shotariya likes this.
  4. shotariya

    shotariya Member

    Joined:
    Nov 16, 2017
    Messages:
    22
    Likes Received:
    16
    VRChat:
    shotariya
    yup, you can add this
     
  5. tomorrowsyesterday

    tomorrowsyesterday New Member

    Joined:
    Aug 26, 2018
    Messages:
    1
    Likes Received:
    0
    VRChat:
    Grimgar
    fix model button does not show up for whatever reason

    dead.PNG
    [​IMG]
     
  6. Svelsien

    Svelsien New Member

    Joined:
    Jan 20, 2018
    Messages:
    7
    Likes Received:
    1
    VRChat:
    Svelsien
    Because there isnt anything to fix i guess, no armature found so nothing for cats to fix.
     
  7. Tsuna

    Tsuna New Member

    Joined:
    Sep 5, 2018
    Messages:
    1
    Likes Received:
    0
    VRChat:
    tsuna vr
  8. shotariya

    shotariya Member

    Joined:
    Nov 16, 2017
    Messages:
    22
    Likes Received:
    16
    VRChat:
    shotariya
    does your model parts that you combine uses same uv map?
     
    #328 shotariya, Sep 6, 2018
    Last edited: Sep 6, 2018
  9. Hotox

    Hotox Member

    Joined:
    Nov 19, 2017
    Messages:
    103
    Likes Received:
    45
    VRChat:
    Hotox
    You have to import a model with an armature first.

    I already fixed this in the development version of cats. Update to it with the build-in updater.
     
  10. PADOORU

    PADOORU New Member

    Joined:
    Sep 11, 2018
    Messages:
    4
    Likes Received:
    0
    VRChat:
    PADOORU PADORUU
    There's no Mesh Options for me when I'm setting up for the Eyes Tracking thingy for my model. Help?
     

    Attached Files:

  11. PADOORU

    PADOORU New Member

    Joined:
    Sep 11, 2018
    Messages:
    4
    Likes Received:
    0
    VRChat:
    PADOORU PADORUU
    I don't have mesh options for viseme. Help?
     

    Attached Files:

  12. Hotox

    Hotox Member

    Joined:
    Nov 19, 2017
    Messages:
    103
    Likes Received:
    45
    VRChat:
    Hotox
    The mesh option only gets displayed if there is more than one mesh in the current model.
     
  13. Bloodlust

    Bloodlust New Member

    Joined:
    Sep 10, 2018
    Messages:
    3
    Likes Received:
    0
    After using the CATS protection function, setting 100 on regular basis shows the avatar having holes and missing polys/verts on the mesh in unity. Perhaps my characters is too low poly? could't get it to work unfortunately.
     
  14. Dunderflop

    Dunderflop New Member

    Joined:
    Sep 30, 2018
    Messages:
    1
    Likes Received:
    0
    VRChat:
    Dunderflop
    I get an error every time I try to export it to fbx.
    Error.png
     
  15. Tila

    Tila New Member

    Joined:
    Oct 4, 2018
    Messages:
    3
    Likes Received:
    0
    Weird question, but has this error ever come up before for any of you?
     

    Attached Files:

  16. Hotox

    Hotox Member

    Joined:
    Nov 19, 2017
    Messages:
    103
    Likes Received:
    45
    VRChat:
    Hotox
    Did you disable the fbx export plugin?

    There is no definite fix for this yet. Try to completely uninstall and then reinstall cats.
     
  17. Tila

    Tila New Member

    Joined:
    Oct 4, 2018
    Messages:
    3
    Likes Received:
    0
    After trying multiple times, the same error keeps coming up. So, hopefully a fix gets found.
     
  18. Hotox

    Hotox Member

    Joined:
    Nov 19, 2017
    Messages:
    103
    Likes Received:
    45
    VRChat:
    Hotox
    Please try this: Close Blender, go into the addons folder and delete the cats folder, open blender, in the user preferences look for cats and disable it, save the user preferences and then install Cats again through Blender by installing the zip.
     
  19. Tila

    Tila New Member

    Joined:
    Oct 4, 2018
    Messages:
    3
    Likes Received:
    0
    Nope, still doesn't work. Could there be something with the new Cats?
    When i use an old version of Cats, it partially works, but for renaming bones, objects, and meshes, it says it can't connect to google.
    And as soon as i update the old cats it brings up the error again
     
  20. Tupper

    Tupper The Strongest
    Forum Staff

    Joined:
    Nov 14, 2017
    Messages:
    111
    Likes Received:
    106
    VRChat:
    Tupper
    So I haven't had time to pass some commentary on things I'd love to see in Cats. Thankfully I finally have a weekend where it actually feels like I'm off work, so here's what I've got:

    Dynamic Bones are Evil
    The recent addition of warnings for unjoined meshes and excess materials is great for helping with one of the major avatar optimization problems. However, the actual current Public Enemy #1 for avatar optimization is Dynamic Bones. It takes up a huge amount of frame time even when there's a decently reasonable amount of affected transforms in a given model. I usually personally recommend having less than 30 affected transforms (not scripts) when using Dynamic bones. Less is always better. Using none is ideal, but hey, people want fancy hair and etc. I get that.

    I think that Cats has enough information to infer when there's a huge amount of extra bones in the model. I think Cats should show a non-stopping "warning" when there are tons (say, 2x of the standard rig count) of extra bones outside the standard rig to inform users not to abuse/overuse Dynamic Bones.

    Blender 2.8 Compatibility Concerns
    Blender 2.8 completely overhauls basically everything Blender.

    First off, Blender Render is gone. All work must be done in the node-based Cycles render mode. This is also partially a problem with mmd_tools as it imports into Blender Render by default. If mmd_tools doesn't update in time, this may cause pretty major problems. Also, pretty much all of the Cats tools that affect materials and textures will have to be adapted, as well as Shotariya's tool.

    Second, the UI is very different. I imagine Cats will have to refactor their UI. Might be a good chance to redesign the UI, as it has gotten a little bloaty (but honestly still not super bad).

    I fully expect many tools to stay in 2.79-land for a while and for 2.8 fixes to take a bit. That being said, there's a lot of advantages of working in Cycles and I hope you guys can start looking at it soon.

    As always, thank you for everything you do to make importing avatars a cinch compared to the 2-3 hour monster it used to be.
     
    Hotox likes this.