Profile Picture

Unable to import CC4 Avatar from Maya - Mesh is bound to the wrong bone(s)

Posted By nikhilrath86 Last Year
You don't have permission to rate!

Unable to import CC4 Avatar from Maya - Mesh is bound to the wrong...

Author
Message
nikhilrath86
nikhilrath86
Posted Last Year
View Quick Profile
Junior Member

Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)

Group: Forum Members
Last Active: 8 Months Ago
Posts: 11, Visits: 92
Hello, 
I'm having a problem loading a CC4 Avatar that I have exported from CC4 to do weight painting in Maya.
When I export it from Maya, and import it into CC4 the model fails to load after I accept the following errors.

https://forum.reallusion.com/uploads/images/d230b565-7241-4da6-8d80-3e54.png

I'm not sure if I am exporting the CC4 avatar from maya correctly. I haven't made any changes, I've simply loaded it into maya and then exported it out but the file size is much higher,
export from CC4 - Camila.fbx - 76,592 KB
export from maya - Camila_export.fbx - 360,268 KB

This happens with every model that comes with CC4 and models I have created.

If I import the fbx I exported with CC4 back into CC4 (wiithout exporting it from maya), it loads with no issues.

Any help on this issue is appreciated!
Thanks!



animagic
animagic
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)

Group: Forum Members
Last Active: Last Month
Posts: 15.8K, Visits: 31.4K
This requires a Maya expert, but I assume Maya does something to the model to make it compatible. For example, are bone names the same, have any UV changed, etc.

EDIT: I meant "expert" not "export".


https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg

nikhilrath86
nikhilrath86
Posted Last Year
View Quick Profile
Junior Member

Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)

Group: Forum Members
Last Active: 8 Months Ago
Posts: 11, Visits: 92
Hi, I didn't change the imported file all.
Could I upload the fbx here for someone to take a look?
I'm wondering if it has to do with how I'm exporting considering the export is way larger than what is coming from character creator. 
animagic
animagic
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)

Group: Forum Members
Last Active: Last Month
Posts: 15.8K, Visits: 31.4K
There is a limit to the file size you can attach to a post, but you can use something like DropBox or Google Drive and post a link to it.


https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg

nikhilrath86
nikhilrath86
Posted Last Year
View Quick Profile
Junior Member

Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)

Group: Forum Members
Last Active: 8 Months Ago
Posts: 11, Visits: 92
Thanks @animagic!
Here is a link to a folder with the files.
https://drive.google.com/drive/folders/1fgQkTLASItHshIvn73ELR5AzP9gfHI6_?usp=sharing
I'm simply exported the Camila Facial Demo from CC4 with these settings,

File -> export -> fbx (clothed character) (This file imports into CC4 perfectly)
https://forum.reallusion.com/uploads/images/c15e9eaa-5d95-4826-86be-9d4a.png
 
And when I export from maya (no modification at all), I select everything in the outliner and export in fbx with these settings,
https://forum.reallusion.com/uploads/images/27507f78-dd69-4b4f-9e47-0cb3.png
animagic
animagic
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)Distinguished Member (33.4K reputation)

Group: Forum Members
Last Active: Last Month
Posts: 15.8K, Visits: 31.4K
Hopefully a Maya expert will come to the rescue! Unfortunately, I'm not familiar with Maya...:unsure:


https://forum.reallusion.com/uploads/images/436b0ffd-1242-44d6-a876-d631.jpg

Victor.Soupday
Victor.Soupday
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 hours ago
Posts: 569, Visits: 9.0K
I don't know anything about Maya, but none of the meshes in that FBX have any vertex weights, nor are they parented to the skeleton (though I don't know if that's a necessary thing in Maya), which is why Character Creator is throwing it out. I'm guessing you need to use some more export options in the File Specific Export Options: Edit Preset ... button?
AutoDidact
AutoDidact
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 2.1K, Visits: 13.6K
animagic (1/31/2024)
Hopefully a Maya expert will come to the rescue! Unfortunately, I'm not familiar with Maya...:unsure:



Well having only touched Maya, for the first time  back in early December, when I got it, I am  most certainly no “expert” LOL!!
That said ,I was able to import the camilla FBX into Maya just fine (with some minor poke thru on clothing ),even giving her a Maya HIK control rig.

https://forum.reallusion.com/uploads/images/694ec6a6-140f-4d97-b6a8-21aa.png
For export however I did not select everything in the outliner , but simply chose “export all” but  unchecked things such as lights etc.
My Maya exported Camilla is just a little over 15 megabytes
not the 300+ megabyte FBX you are getting.

https://forum.reallusion.com/uploads/images/af0d43db-b2e4-41fb-ad64-96b5.png

https://forum.reallusion.com/uploads/images/eae322f5-0e88-4079-8e89-9c37.png
Now I cannot test her import back to to CC4 
(as I remain  on IC7/CC3)
but I did import her into 3DX pipeline where I could have manually mapped her as nonstandard Character for Iclone if I had any need to ,but I don’t.  




RAG DOLL COLLISION ANIMATIONS FOR ICLONE 8 & 7
---------------------------------------------------------------------------------------------------------------------
Ghost Origins
My latest Feature length film created with Iclone.
https://forum.reallusion.com/uploads/images/adf9b210-df59-4cb6-aa1b-9de5.jpg
My Sci- Fi Graphic Novel on Amazon: https://a.co/d/9k3cwoY


nikhilrath86
nikhilrath86
Posted Last Year
View Quick Profile
Junior Member

Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)Junior Member (161 reputation)

Group: Forum Members
Last Active: 8 Months Ago
Posts: 11, Visits: 92
Thanks everyone!
@autodidact - I followed your approach and it worked! I think selecting everything and exporting sends a lot of junk data because of which the import in CC4 fails.
                        With your approach its a smaller file but imports correctly.
However, some considerations I noted with my other models,
- CC4 would occasional mis-label the assets, i.e a clothing asset would be labeled as hair, so important to correct this
- If a model is exported with accessories that haven't been linked to the models skeleton with "transfer skin weights" then they will be linked to the root bone and the model with accessories will fail on import. (still trying to confirm this)

@victor.soupday - The model comes into maya fully rigged with skin. Not too sure about vertex weights, but the mesh is weighted to the skeleton. I did notice that it was possible to move vertices around while weight painting which I shouldn't be able to do without errors, then again it doesn't cause any problems on import

@animagic - changing bone names certainly will cause a crash, as will adding meshes to the model in maya and sending it back. I'm thinking this is caused because of the data in fbx key.
   If I deleted some accessories on the maya side, the model on import with give an error, "None mesh entity detected  "

Going through all this, the correct workflow for CC4 -> maya -> CC4 is,
- Ready model in CC4 for export to maya
- Best not to include any accessories that haven't been linked ot the model using "transfer skin weights"
- Delete control rig curve group before export from maya
- Use export all, disable lights, camera, embed media, constraints
- Import in CC4
- Check if all the meshes are labeled correctly by CC4 (clothing, shoe, glove, hair.etc)

I'll keep checking if I run into any more issues, thank you helping resolve this!


AutoDidact
AutoDidact
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)Distinguished Member (6.1K reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 2.1K, Visits: 13.6K
I'll keep checking if I run into any more issues, thank you helping resolve this!


Well I am glad to see you getting it all sorted out.

 
As I said, I am very new to Maya  as I have been,(and still am) a Blender guy the last four years and a C4D user for over a decade before that.
All of the Reallusion pipelines ,to external programs, have their own particularities but hopefully we can all help each other figure them out.



RAG DOLL COLLISION ANIMATIONS FOR ICLONE 8 & 7
---------------------------------------------------------------------------------------------------------------------
Ghost Origins
My latest Feature length film created with Iclone.
https://forum.reallusion.com/uploads/images/adf9b210-df59-4cb6-aa1b-9de5.jpg
My Sci- Fi Graphic Novel on Amazon: https://a.co/d/9k3cwoY





Reading This Topic