Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

confusing error when vertices not weighted properly #38

Open
mrwonko opened this issue Jun 30, 2023 · 0 comments
Open

confusing error when vertices not weighted properly #38

mrwonko opened this issue Jun 30, 2023 · 0 comments
Milestone

Comments

@mrwonko
Copy link
Owner

mrwonko commented Jun 30, 2023

== GLM Export ==

Loading gla file for bone name -> bone index lookup
Scale: 1.000
Found 3 model_roots, i.e. LOD levels
4 surfaces found
Traceback (most recent call last):
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2Operators.py", line 178, in execute
    success, message = scene.loadModelFromBlender(filepath, self.gla)
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2Scene.py", line 88, in loadModelFromBlender
    success, message = self.glm.loadFromBlender(glm_filepath_rel, gla_filepath_rel, self.basepath)
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2GLM.py", line 990, in loadFromBlender
    success, message = self.LODCollection.loadFromBlender(rootObjects, surfaceIndexMap, boneIndexMap, skeleton_object)
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2GLM.py", line 861, in loadFromBlender
    success, message = LOD.loadFromBlender(model_root, surfaceIndexMap, boneIndexMap, armatureObject)
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2GLM.py", line 798, in loadFromBlender
    success, message = surf.loadFromBlender(available[name], boneIndexMap, armatureObject)
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2GLM.py", line 578, in loadFromBlender
    success, message = vertex.loadFromBlender(mesh.vertices[v], u, n, boneIndices, object, armatureObject)
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2GLM.py", line 422, in loadFromBlender
    weights = getBoneWeights(vertex, meshObject, armatureObject, 4)
  File "\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\jediacademy\JAG2GLM.py", line 112, in getBoneWeights
    co_worldspace = meshObject.matrix_world * co_meshspace
TypeError: Element-wise multiplication: not supported between 'Matrix' and 'Vector' types

microuzisdworld_error.zip

@mrwonko mrwonko added this to the JKHub Release milestone Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant