Error when solve blendshape mesh from 3ds max

Export blendshape meshes from a2f, and create morpher with these blendshape meshes in 3dsmax.Then use USD for 3ds Max 0.7 export usd to a2f, and when setup the blendshape solve, there will be some errors.

2024-04-10 13:48:29 [Warning] [omni.deform.shared.scripts.utils] Could not find the output point attribute on Node(“/World/audio2face/c_headWatertight_hi_WritePrimsV2”).
2024-04-10 13:48:29 [Error] [omni.graph.core.plugin] /World/audio2face/BlendshapeSolve_01: [/World/audio2face] Assertion raised in compute - arrays used as indices must be of integer (or boolean) type
2024-04-10 13:48:29 [Error] [omni.graph.core.plugin] File “e:\program data\nvidia\omniverse\pkg\audio2face-2023.2.0\exts\omni.audio2face.exporter\omni\audio2face\exporter\ogn\python\nodes\OgnBsSolveNode.py”, line 124, in compute
2024-04-10 13:48:29 [Error] [omni.graph.core.plugin] if db.internal_state.load_blendshape_data(prim_path):
2024-04-10 13:48:29 [Error] [omni.graph.core.plugin] File “e:\program data\nvidia\omniverse\pkg\audio2face-2023.2.0\exts\omni.audio2face.exporter\omni\audio2face\exporter\ogn\python\nodes\OgnBsSolveNode.py”, line 60, in load_blendshape_data
2024-04-10 13:48:29 [Error] [omni.graph.core.plugin] poseMat[indices, :] = offsets.copy()
2024-04-10 13:48:29 [Error] [omni.graph.core.plugin]
2024-04-10 13:48:29 [Warning] [omni.deform.shared.scripts.utils] Could not find the output point attribute on Node(“/World/audio2face/c_headWatertight_hi_WritePrimsV2”).
2024-04-10 13:48:29 [Warning] [omni.usd] Warning (secondary thread): in ProcessPropertyChange at line 522 of W:\ac88d7d902b57417\USD\pxr\usdImaging\usdSkelImaging\skeletonAdapter.cpp – Unhandled ProcessPropertyChange callback for cachePath </World/Claire_bs_3dsmax/Bones/bs_anim> in UsdSkelImagingSkelAdapter.
3ds max blendshape problem.zip (72.6 MB)

It seems the pointIndices is missing. Probably the 3dsMax is not exporting the blendShapes properly.

I’m not familiar with 3dsMax. Are you using the latest 3dsMax connector installed from Omniverse Launcher?

Screenshot_2

3dsMax connector seems can’t export blendshape.Mesh will have empty blendshape target list when open in a2f.

I asked this problem on 3ds max forum, and they told me that the pointIndices is not mandatory as stated in the USD Documentation. When that attribute is not authored, the software should fallback to use the indices attribute of the mesh that contains the BlendShapes.

Thanks for sharing this. It makes sense…

As a workaround, you might want to add the indices manually (It’s probably a list of numbers starting from 0 to the number of mesh verts minus 1).

I will report this to our team and hopefully they will fix this in the future releases.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.