GithubHelp home page GithubHelp logo

absolute-quantum / cats-blender-plugin Goto Github PK

View Code? Open in Web Editor NEW
3.3K 71.0 446.0 54.27 MB

:smiley_cat: A tool designed to shorten steps needed to import and optimize models into VRChat. Compatible models are: MMD, XNALara, Mixamo, DAZ/Poser, Blender Rigify, Sims 2, Motion Builder, 3DS Max and potentially more

Home Page: https://catsblenderplugin.com

License: MIT License

Python 99.89% C# 0.11%
mmd vrchat blender mixamo 3dsmax xnalara motionbuilder

cats-blender-plugin's Introduction

Cats Blender Plugin (0.19.0)

A tool designed to shorten steps needed to import and optimize models into VRChat. Compatible models are: MMD, XNALara, Mixamo, Source Engine, Unreal Engine, DAZ/Poser, Blender Rigify, Sims 2, Motion Builder, 3DS Max and potentially more

With Cats it takes only a few minutes to upload your model into VRChat. All the hours long processes of fixing your models are compressed into a few functions!

So if you enjoy how this plugin saves you countless hours of work consider supporting us through Patreon. There are a lot of perks like having your name inside the plugin!

Download here: Cats Blender Plugin

Features

  • Optimizing model with one click!
  • Creating lip syncing
  • Creating eye tracking
  • Automatic decimation (while keeping shapekeys)
  • Creating custom models easily
  • Creating texture atlas
  • Creating root bones for Dynamic Bones
  • Optimizing materials
  • Translating shape keys, bones, materials and meshes
  • Merging bone groups to reduce overall bone count
  • Auto updater

More to come!

Discord

Join our Discord to report errors, suggestions and make comments!

Discord: https://discord.gg/f8yZGnv

Requirements

  • Blender 2.79 or 2.80 or above (run as administrator is recommended)
    • mmd_tools is not required! Cats comes pre-installed with it!
  • If you have custom Python installed which Blender might use, you need to have Numpy installed

Installation

  • Download the plugin: Cats Blender Plugin
    • Important: Do NOT extract the downloaded zip! You will need the zip file during installation!
  • Install the addon in blender like so:
    • This shows Blender 2.79. In Blender 2.80+ go to Edit > Preferences > Add-ons. Also you don't need to save the user settings there.

  • Check your 3d view and there should be a new menu item called CATS ....w00t
    • Since Blender 2.80 the CATS tab is on the right in the menu that opens when pressing 'N'

  • If you need help figuring out how to use the tool (very outdated):

VRChat - Cat's Blender Plugin Overview

Skip the step where he installs "mmd_tools" in the video below, it's not needed anymore! (also very outdated)

VRChat - Importing an MMD to VRChat Megatutorial!

Code contributors:

  • Hotox
  • Shotariya
  • Neitri
  • Kiraver
  • Jordo
  • Ruubick
  • feilen

Model

This tries to completely fix your model with one click.

Import/Export Model
  • Imports a model of the selected type with the optimal settings
  • Exports a model as an .fbx with the optimal settings
Fix Model
  • Fixes your model automatically by:
    • Reparenting bones
    • Removing unnecessary bones
    • Renaming and translating objects and bones
    • Mixing weight paints
    • Rotating the hips
    • Joining meshes
    • Removing rigidbodies, joints and bone groups
    • Removing bone constraints
    • Deleting unused vertex groups
    • Using the correct shading
    • Making it compatible with Full Body Tracking
    • Combining similar materials
Start Pose Mode
  • Lets you test how bones will move.
Pose to Shape Key
  • Saves your current pose as a new shape key.
Apply as Rest Pose
  • Applies the current pose position as the new rest position. This saves the shape keys and repairs ones that were broken due to scaling

Model Options

Translation
  • Translate certain entities from any japanese to english. This uses an internal dictionary and Google Translate.
Separate by material / loose parts / shapes
  • Separates a mesh by materials or loose parts or by whether or not the mesh is effected by a shape key
Join meshes
  • Joins all/selected meshes together
Merge Weights
  • Deletes the selected bones and adds their weight to their respective parents
Delete Zero Weight Bones
  • Cleans up the bones hierarchy, deleting all bones that don't directly affect any vertices
Delete Constraints
  • Removes constrains between bones causing specific bone movement as these are not used by VRChat
Recalculate Normals
  • Makes normals point inside of the selected mesh
  • Don't use this on good looking meshes as this can screw them up
Flip Normals
  • Flips the direction of the faces' normals of the selected mesh.
Apply Transformations
  • Applies the position, rotation and scale to the armature and its meshes.
Remove Doubles
  • Merges duplicated faces and vertices of the selected meshes.

Custom Model Creation

This makes creating custom avatars a breeze!

Merge Armatures
  • Merges the selected armature into the selected base armature.
  • How to use:
    • Use "Fix Model" on both armatures
      • Select the armature you want to fix in the list above the Fix Model button
      • Ignore the "Bones are missing" warning if one of the armatures is incomplete (e.g hair only)
      • If you don't want to use "Fix Model" make sure that the armature follows the CATS bone structure (https://i.imgur.com/F5KEt0M.png)
      • DO NOT delete any main bones by yourself! CATS will merge them and delete all unused bones afterwards
    • Now you have two options:
      • Only move the mesh:
        • Uncheck the checkbox "Apply Transforms"
        • Move the mesh (and only the mesh!) of the merge armature to the desired position
          • You can use Move, Scale and Rotate
          • CATS will position the bones according to the mesh automatically
      • OR move the armature (and with it the mesh):
        • Check the checkbox "Apply Transforms"
        • Move the armature to the desired position
          • You can use Move, Scale and Rotate
          • Make sure that both meshes and armatures are at their correct positions as they will stay exactly like this
      • If you want to merge multiple objects from the same model it is often better to duplicate the armature for each of them and merge them individually
    • Select the base armature and the armature you want to merge into the base armature in the panel
    • If CATS can't detect the bone structure automatically: select a bone you want to attach the new armature to
      • E.g.: For a hair armature select "Head" as the bone
    • Press the "Merge Armatures" button -> Done!
Attach Mesh to Armature
  • Attaches the selected mesh to the selected armature.
  • How to use:
    • Move the mesh to the desired position
      • You can use Move, Scale and Rotate
      • INFO: The mesh will only be assigned to the selected bone
      • E.g.: A jacket won't work, because it requires multiple bones.
      • E.g.: A ring on a finger works perfectly, because the ring only needs one bone to move with (the finger bone)
    • Select the base armature and the mesh you want to attach to the base armature in the panel
    • Select the bone you want to attach the mesh to in the panel
    • Press the "Attach Mesh" button -> Done!
Support us:
  • We worked hard on this feature. If you like it consider supporting us, it helps a lot!

Decimation

Decimate your model automatically.

Smart Decimation
  • This will decimate all meshes while keeping every shapekey.
Save Decimation
  • This will only decimate meshes with no shape keys.
Half Decimation
  • This will only decimate meshes with less than 4 shape keys as those are often not used.
Full Decimation
  • This will decimate your whole model deleting all shape keys in the process.
Custom Decimation
  • This lets you choose the meshes and shape keys that should not be decimated.

Eye Tracking

Eye tracking is used to artificially track someone when they come close to you. It's a good idea to check the eye movement in the testing tab after this operation to check the validity of the automatic eye tracking creation.

Disable Eye Blinking
  • Disables eye blinking. Useful if you only want eye movement.
Disable Eye Movement
  • Disables eye movement. Useful if you only want blinking. IMPORTANT: Do your decimation first if you check this!
Eye Movement Speed
  • Configure eye movement speed

Visemes (Lip Sync)

Mouth visemes are used to show more realistic mouth movement in-game when talking over the microphone. The script generates 15 shape keys from the 3 shape keys you specified. It uses the mouth visemes A, OH and CH to generate this output.

Bone parenting

Useful for Dynamic Bones where it is ideal to have one root bone full of child bones. This works by checking all bones and trying to figure out if they can be grouped together, which will appear in a list for you to choose from. After satisfied with the selection of this group you can then press 'Parent bones' and the child bones will be parented to a new bone named RootBone_xyz

To parent
  • List of bones that look like they could be parented together to a root bone. Select a group of bones from the list and press "Parent bones"
Refresh list
  • Clears the group bones list cache and rebuild it, useful if bones have changed or your model
Parent bones
  • Starts the parent process

Texture atlas

Texture atlas is the process of combining multiple textures into one to drastically reduce draw calls and therefore make your model much more performant

Create Atlas
  • Combines all selected materials into one texture. If no material list is generated it will combine all materials.
Generate Material List
  • Lists all materials of the current model and lets you select which ones you want to combine.

Useful Tips:

  • Split transparent and non-transparent textures into separate atlases to avoid transparency issues
  • Make sure that the created textures are not too big, because Unity will downscale them to 2048x2048. Split them across multiple atlases or reduce the individual texture sizes. This can be easily done in the MatCombiner tab.
  • You can tell Unity to use up to 8k textures. Do so by selecting the texture and then choose a different Max Size and/or Compression in the inspector: https://i.imgur.com/o01T4Gb.png

Bone merging

Lets you reduce overall bone count in a group set of bones. This works by checking all bones and trying to figure out if they can be grouped together, which will appear in a list for you to choose from. After satisfied with the selection of this group you can then set a percentage value how much bones you would like to merge together in itself and press 'Merge bones'

Refresh list
  • Clears the group bones list cache and rebuild it, useful if bones have changed or your model
Merge bones
  • Starts the merge process

Bake

This is a non-destructive way to instantly produce a optimized/Quest variant of (almost) any avatar!

For more information please visit the Bake Panel Wiki Page.

Shape Key

Apply Shape Key as Basis

  • Applies the selected shape key as the new Basis and creates a reverted shape key from the selected one.

Settings and Updates

This plugin has an auto updater. It checks for a new version automatically once every day.


Changelog

0.19.0

  • Fully compatible with Blender 2.93
  • Translations:
    • Added Korean translation!
      • Cats is now translated into Korean by a large portion
      • To use it, simply change your Blender language to Korean and then restart Blender or select it in the Cats Settings
      • Thanks to Siromori for contributing the translation! <3
    • Added Cats Ui Language setting
      • This lets you choose in which language Cats should be displayed
      • Setting it to "auto" will choose the current Blender language
    • Added button to download the latest Cats Translations
      • This feature is for translators to test their translations in the plugin
      • If you want to help to translate Cats into any language, please let me (Hotox) know in our Discord
  • Model Options:
    • Added "Connect Bones" button
    • Added options to keep merged bones and to merge the bones of visible meshes only
  • Custom Model Creation:
    • Reworked "Attach Mesh" feature, it is much more reliable now
  • General:
    • Fixed translation errors
    • Updated mmd_tools
  • Bake: (by feilen)
    • Emission influence baking: fake realtime lighting based on your emissive channel, quest-compatible!
    • 'Manual' reprojection mode for Bake: creating new UV maps called 'Target' will allow you to re-bake to a specific layout.
    • 'Optimize static shapekeys' option
      • Splits your mesh into two skinned meshes, one with all shapekey-influenced geometry, one with the rest (and fixes the normals in place). Significantly improves GPU performance, especially when a lot of shapekeys are in effect. Needs the lighting anchor point in Unity to be set to the armature Hips on both, or you'll get lighting artifacts.
    • Introduce 'BakeFixer.cs', which is a run-time unity script that hopefully should do the lighting work for you.
    • 'Ignore hidden objects' option
      • When baking, this will ignore any objects you currently have hidden, making it easier to create different versions of your avatar.
    • Apply Current Shapekey Mix option
      • Sets your basis to whatever current mix of shapekeys you have. Always-on shapekeys are terrible for performance, so if you have some that are only intended to customize the character without updates, this will help with that.
    • '_bake' shapekeys: any shapekey with '_bake' at the end will be applied and completely removed, allowing the static shapekeys option to work better. If you're an avatar creator distributing bases, this is recommended for character customization keys!
    • Misc: Updated defaults to be in line with updated Quest limits.

0.18.0

  • Added Bake Panel!
  • Added Smart Decimation!
    • This lets you decimate without loosing any shapekeys!
    • Full credit goes to feilen! Tons of thanks for this awesome feature as well <3
  • Added Japanese translation!
    • Cats is now almost fully translated into Japanese
    • To use it simply change your Blender language to Japanese and then restart Blender
    • Full credit goes to Jordo and Ruuubick! Thank you so much <3
    • If you want to help translating Cats into any language, please us know!
  • General:
    • Cats is now fully compatible with Blender 2.90 and 2.91
    • Added "Show mmd_tools tabs" option to Settings
      • This allows you show and hide the "MMD" and "Misc" tabs added by the mmd_tools plugin
    • Added button to "Start/Stop Pose Mode" which starts/stops pose mode without resetting the current pose
    • Changed link to a new vrm importer since the old one dropped support
    • Fixed Google Translations no longer working
    • Fixed bug in "Apply as Rest Pose" and "Pose to Shape Key" in Blender 2.90
    • More fixes for Blender 2.90
    • NOTE: Using Cats in Blender 2.90+ on Ubuntu might cause Blender to crash on load (caused by mmd_tools)
      • To fix this use a Blender version prior to 2.90 or try updating your drivers

0.17.0

  • Cats is now fully compatible with Blender 2.83!
    • It was compatible with 2.82 all long
  • Fix Model:
    • Added "Keep Twist Bones" option to Fix Model
      • This will keep any bone containing 'Twist'
    • Added "Fix MMD Twist Bones" option to Fix Model
      • This will apply a fix to make the MMD arm twist bones usable (Thanks Rokk!)
      • You do not need to enable "Keep Twist Bones" for this to work
    • Added "Remove Rigidbodies and Joints" option to Fix Model
      • This is solely intended for our non-VRChat users
    • Added compatibility to more models
    • Disabling the option "Remove Zero Weight Bones" now also keeps unused vertex groups
  • Importer:
    • Imported meshes from VRM files now get automatically parented to their armature
    • Imported armatures now always show their bones in front and in wire mode
    • Fixed export warning being empty
    • Fixed importer error when the FBX importer was not enabled
    • Fixed importer error when a zip file contained another zip file
    • When importing a model, objects of a new scene now only get deleted if all three of them are present
  • Custom Model Creation:
    • Added "Remove Zero Weight Bones" option to Merge Armatures
  • Decimation:
    • Added "Remove Doubles" option
  • General:
    • Fixed some bugs
    • Fixed objects getting unhidden when doing any cats operation in 2.80+
    • Updated mmd_tools

Read the full changelog here.

Roadmap

  • MOAR updates on the armature code
  • Texture translation should have an option to rename the filename also
  • Automatic lower lid creation for eye tracking
  • Manual bone selection button for root bones
  • Full body tracking proportion adjustments

Feedback

Do you love this plugin or have you found a bug? Post a response in this thread or send your feedback to the official discord server of the plugin for real-time communication: https://discord.gg/f8yZGnv and look for people with the developer role ;)

Support us

If you enjoy how this plugin saves you countless hours of work consider supporting us through Patreon:

cats-blender-plugin's People

Contributors

989onan avatar absolute-quantum avatar blueamulet avatar darkblader24 avatar dtupper avatar feilen avatar jordovr avatar larskue avatar netri avatar redstrate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cats-blender-plugin's Issues

Error on Export Model

When I tried to export my model in Blender to FBX through cats I ran into this error posted below. The only thing I have done differently is applied textures and materials to model parts that did not have them before and just showed up as pink. Was not having this issue prior but cannot reverse what I have done now. Anyone know how to fix this?

Traceback (most recent call last):
File "...\Blender\2.79\scripts\addons\cats-blender-plugin-master\tools\importer.py", line 573, execute
tex_path = bpy.path.abspath(text_slot.texture.image.filepath)
AttributeError: 'NoneType' object has no attribute 'filepath'

Location: :-1

Could you please help with error upon fixing MMD models?

Could you please help me?

11
This error in the screenshot picture in the above appears on every MMD models I try to "Fix Model".

It happens when these options "Keep End Bones", "Combine Same Materials", "Remove Zero Weight Bones" under the "Fix Model Settings" are checked.
Checking "Apply Full Body Tracking Fix" alone doesn't cause that particular error but it causes another issue of making weird Armature and not applying textures.
No options checked results in the same thing as when "Apply Full Body Tracking Fix" is checked.

I was following along the CATS Megatutorial, then this issue happened and I couldn't do anything.
I'm not a programmer so I have no idea what this means. I tried google but no luck.

I'm using Blender v2.79.6 and CATS 0.12.1
Should I use the previous release of CATS?

mmd_tools not installed

When i go on the cats tab in blender and click Import model it said the mmd_tool is not installed. I tried putting the extracted model in Program Files>Blender Foundation>Blender>2.79>scripts>addons. But it doesnt work. I tried restarting my pc also. Wont work also.

If you know how to fix can you please tell me on discord: Psycxtic#2577

Interface does not work, 12.1

blender_2018-12-10_11-50-17

Got an issue. I updated to the newest version using the built-in updater last night, and the "Model" dropdown doesn't have any options. Additionally, it appears that the autoupdater itself is busted. (Blender 2.79)

I've attempted to delete all traces of it and reinstall multiple times (I also removed mmd_tools, since it said it was built in now) but nothing I do seems to fix this. I notice your recent commits/changes attempted to change/fix it. Next step is going to be to nuke all of blender and try again.

Unable to identify tga?

Hello, and sorry if I'm doing this wrong!!

Up until recently I haven't had any issues using the texture atlasing feature, and I'm relatively new to the whole importing models thing so I'm not sure what the issue is here. Whenever I try to texture atlas my model, I get this error - https://imgur.com/a/NStD8iA - and I'm unsure how to proceed. Is there something I'm missing, or is this just an issue with my model itself?

Thank you!

cats wont install

capture
I cant seem to get the cats tool to install any more. I've been using cats for almost a year so its not my first time. but all I get is this error on the captured image. please help.

Cats Blender plugin Error

each time I have tried to enable the plugin from user preferences in the add-on tab, it would give me a report error. saying "AttributeError: module 'cats-blender-plugin-master' has no attribute 'file'". there was more in it, but this was what stuck out to me. I will also add, when I first installed it, it worked fine, but after a change my region domain to Japanese and restarted my computer, it stopped working, I even tried reinstalling the cats plugin, nothing worked

cant enable the plugin with the new update

i sadly cant enable the plugin with the new update and end up with this error,
screenshot_4
i dont know the fix but i do think i caused it when i was reinstalling it after seeing an update.

Plugin installation failing

Hello.
My issue is that I cannot install this tool via the entire ZIP file into Blender. Neither does unzipping and putting it all into the Blender addons folder work. Either way the plugin does not show up under User preferences -> add-ons.

Possible solutions:

It should work with the newest Cat version following the installation instructions.
Optionally: Try using the Steam version of Blender.

Error while installing addon

blendererror
I have removed the Cats addon from blender then re-downloaded and tried to install from blender and have gotten the same code every time.

"Fix Model" fails on models that have no UVmap

Can always be reproduced by removed all uvmaps from a model and clicking "Fix Model". The error message is as follow.


Traceback (most recent call last):
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\cats-blender-plugin-master\tools\armature.py", line 237, in execute
    mesh = tools.common.join_meshes()
  File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\cats-blender-plugin-master\tools\common.py", line 571, in join_meshes
    mesh.data.uv_textures[0].name = 'UVMap'
IndexError: bpy_prop_collection[index]: index 0 out of range, size 0

location: <unknown location>:-1


Mouth visemes not working in-game

Issue: Shape keys work in Blender/Unity, but if put into the Avatar Descriptor in the appropriate location they simply do not work. The shape keys are fine if manually changed 0-100 in Blender and Unity. It's only when placed onto the Descriptor, they simply don't work in-game.

This is 100% a Blender and/or CATS plugin issue. It happened once before and reinstalling Blender/CATS fresh fixed it with no changes to my Unity or projects. Now it is broken again and my only hint is that both times it happened sometime after I stitched together a neck seam in my model in edit mode. I did not touch anything else on the model in the process - just merged vertices on the same location at the neck.

The weird thing is it happens on every model, so I can't chalk it up to editing my model being the problem, I think. Even if I bring in a brand new model and do the bare minimum (fix model + create visemes), it still will not work for me. I figured it must be something to do with the settings changing somehow due to how it persists across files and models.

Edit: A few more things I've done to narrow it down now.
On every step I make the changes, export the model, then upload it.
-Factory reset Blender settings, still broken.
-Then reactivated CATS plugin/mmd tools, recreated visemes, still broken.
-Deleted my Blender user folder in AppData (Only addons were mmd tools+ CATS). Still not working.
-Reinstalled mmd tools and CATS plugin (note: the 0.6.1 zip did not show up in my user preferences when trying to install, but the development one did so I'm now running development version unlike before.) Recreated visemes, still broken.
-Downgraded to 0.6.1. Recreated visemes, still not working

Sounds like it may just be a Blender issue somehow :(

Edit 2:
-Clean reinstall of Blender, still broken. I guess it ain't Blender but all my models suddenly :^)
-Discovered this issue only affects CATS-created mouth movements all other shape keys work in the Descriptor slots except for CATS ones. Even my own self-made shape keys work.

Fix Model Error on Blender 2.79b Mac

Traceback (most recent call last):
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/tools/armature.py", line 327, in execute
if math.isnan(uv.data[vert].uv.y):
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/tools/translate.py", line 409, in update_dictionary
google_input.append(name)
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/client.py", line 134, in translate
result = []
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/client.py", line 142, in translate

File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/client.py", line 60, in _translate
token = self.token_acquirer.do(text)
File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/gtoken.py", line 188, in do

File "/Users/kazari/Library/Application Support/Blender/2.79/scripts/addons/cats-blender-plugin-master/googletrans/gtoken.py", line 67, in _update
self.tkk = newtkk.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

location: :-1

Same as Issues 63 but I am running the latest version. This only happenes with some models

Decimate protect UV

The current decimate implementation can be rather destructive to vertices with co-ordinates on UV edges. This is of particular issue to meshes that use mirroring for UV maps.

An option to preserve vertices with UVs on edges would be ideal for resolving this particular issue.

Blender's UV layout technique may be a good way of identifying what vertices have UVs that need preserving (UVs on edges).

Armature getting stuck in place because of cats

Love the plugin, made life thousand times easier than the old days with mmd tools, no complaints about the plugin, just wanted to show what is happening with me and if this is a know issue. I preferred to record a video seeing it would be much easier to understand what is going on.

https://youtu.be/bvl73Z3mrco (just made the upload 7:51 pm est, might have to wait to process for better quality)

Both "tries" of moving the armature were exactly the same, seeing that I used "load factory settings" but after recording I realized that one difference was that the first try without cats, I opened a fbx and on the second with cats I used a mmd, so I decided to convert a mmd to fbx and move the armature without cats, no surprise, the armature moved normally, there might be a small chanca that the difference of models being in mmd are in fault here, but even so it need a fix, so I got to the conclusion that cats is to blame here, would love some support.

OScannot identify image file for all `dds` images

This seems to be happening for all dds files. It seems to be from the underlying Image class.

location: C:\Program Files\Blender Foundation\Blender\2.79\scripts\modules\bpy\ops.py:187
Error: Traceback (most recent call last):
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in execute
    else (x.name, x) for x in files)],
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 179, in <listcomp>
    images = sorted([{'w': i.size[0], 'h': i.size[1], 'path': path, 'img': i}
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in <genexpr>
    else (x.name, x) for x in files)],
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\PIL\Image.py", line 2622, in open
    % (filename if filename else fp))

Error: Traceback (most recent call last):
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in execute
    else (x.name, x) for x in files)],
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 179, in <listcomp>
    images = sorted([{'w': i.size[0], 'h': i.size[1], 'path': path, 'img': i}
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\one_mat.py", line 181, in <genexpr>
    else (x.name, x) for x in files)],
  File "C:\Users\ayara\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\material-combiner-addon-master\PIL\Image.py", line 2622, in open
    % (filename if filename else fp))

OS: Windows

This happens during Atlas creation.

Additional stack before that exception:

Importing BlpImagePlugin
Image: failed to import BlpImagePlugin: No module named 'PIL'
Importing BmpImagePlugin
Image: failed to import BmpImagePlugin: No module named 'PIL'
... same for all modules in _plugins array

So the problem is with importing. It does not recognize PIL as a module. I manually edited all the files and made them use from . import module_name syntax. I would love to see a real solution to this

This seems to suggest there is something seriously wrong while it is trying to import pillow module

Eye tracking problem?

Hi. Thank you for make and publish this plugin for all.
by the way, i got some terrible problem.

This is how I look my model in blender(after creating eye tracking) : https://imgur.com/htAeJmi

What happened in unity : https://imgur.com/qvbWe08

I changed Eye Movement Range very much. but it is almost in a dilemma.
I searched about for this problem everywhere, but I couldn't find a suitable solution.

I apologise for my foolishness :/

Feature Request (Enhancement): Resize parent bones when Merging Weights To Parent

While using the merge weights (to parents) feature under Model Options I noticed that the parent bone doesn't resize itself to make up for the deleted bone. For example, if you had a chain of 3 bones (each one parented and connected to another) and you use the merge weights feature to merge the middle bone with its parent there will be a gap between the parent bone of the selected and the child bone of the selected.
Crappy Illustration:
Starting______ : [---A Bone----][---B Bone----][---C Bone----]
After Merge__: [---A Bone----]-----Gap-------[---C Bone----]
Expected_____: [---A Bone--------------------][---C Bone----]
More detailed illustration:
Result:
result
Expected:
expected
To me this doesn't look very nice and fixing it can be tedious when you are doing this to dozens of bones. From what I've found out you can fix this by selecting the chain, flipping the bone directions, connecting all the bones, and flipping the bones back. This method is much better then my original method (manually resizing all the bones) but the resulting bone chain will be unparented from its former parent. So what I'm proposing is in the script for Merge Weight (To parent) before deleting the selected bones change the parent bone's tail transform to be the tail transform of the selected bone.

To me this seem like it would be useful for reducing a lot of bone chains, such as for hair, skirts, strings, etc in the armature, however there are cases where this would not help. For example merge weight (to active) would probably be used to merge bones that do not share a common parent, in this case it is likely that this feature would resize the bone when it shouldn't. Another example would be when a parent bone has multiple children, in this case resizing the parent bone to fit one of it children will make the other children looks weird (like if a wrist bone was connect to only one finger all the other finger bones would look out of place). This second issue can be resolved by adding a checker to see if the parent bone has multiple children.

Well that's the enhancement I'm proposing, please consider it for future releases.
If you have any question you can reach my discord at @ White Byakko in the CAT discord

cats

addon wont work at all cant reinstall it just get error mesage

Update polygon Limit

Please change to 70,000 polygon as the new vrchatsdk limit, or 100k as the 2017 Unity polygon limit before split mesh,

mergin armature

so i moved the mesh o the place i wanted it and picked the stuff but when i cliked merge armatures it keeps saying please use the fix model feature even though i have used fix model on both armatures.

Lag every time whilst starting up Blender

Each individual image takes some time to load and it slows down Blender quite heavily. It might be better if you load only one image with all the supporters on there at once. Perhaps creating an automatic script to generate that image when pushing a commit.

Here's a video that shows the issue:
https://streamable.com/b97b7

I think it's important because Blender aims to start up really quickly so you can just get on with your work. I swear I heard Ton say that in an interview and it's really annoying that this keeps happening.

Full Body Tracking Fix

The full body tacking fix is detaching the bones from the mesh on a few of my models. When I unchecked the FBT fix box everything is fine. It detached the finger bones on one model and the other one it completely detached it.

plans for Blender 2.8?

My abusive relationship with blender might actually be at an end with 2.8, is there any hope for bugtesting and development to support the new version?

I would be happy to contribute some time and effort into making this a reality.

pmx vs. Pmx Issue

Since the latest update today, on June 21, there has been an issue. My friend and I are able to Import pmx files. However, we are unable to import the files if the "P" in pmx is capital. This only started happening after I downloaded the update and re-launched Blender. Besides this, the update is great! Please fix asap, I am working on models that I need to be done soon! Thank you.

cats-plugin disappear and after i update the plugin,error occur

hi, admin, I open my blender today and found out that cats plugin is gone then when I get to the user preference the plugin,its still on,then I go check the plugin webpage if any update,and there is update on MAY 2018 then I dl it and overwrite the plugin by following back the instruction given on the download page ,but then error occur when i try to activate it back,here is the reference picture,plesae help me ><><><
cats plugin problem

Cats blender error

Excuse me as you can see on these pictures, i did all the cats plugin and copied it into blender addons folder but when i was opened the blender (the blender was 2.70 version) it keeps saying an error like these..

image

error pops up when i check the plugin box

image
full error is:
File "C:\Program Files\Blender Foundation\Blender\2.77\scripts\modules\addon_utils.py", line 330, in enable
mod = import(module_name)
File "C:\Users[user]\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\cats-blender-plugin-master_init_.py", line 46, in
import tools.armature_bones
ImportError: No module named 'tools.armature_bones'
might just be a problem on my end, though reinstalling doesn't help

ats disappeared from Blender

Cats disappeared from the Steam Blender layout, and it is displaying the following error when I disable it and try to enable it again.
catsbug
cats
cats2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.