Kinefx to agent Crowd : Wrong Scaling

   1467   3   2
User Avatar
Member
219 posts
Joined: Oct. 2015
Online
Hello,

When I import a character from fbx file with other units system I use the "Convert Units" checkbox option, on the "fbxcharacterimport" sop to put it at real size.
Then I can do all manipulations I want and go to save it with animations as "agentdefinitioncache".

BUT

When I import this agent it was back to wrong scaling as if I disable "Convert Units" at first step.
If I directly import fbx from agent sop scaling is good.
But how can I well export my character to agent definition cache with right scaling on load ?



Cf joined hip file as example
In this sample scene I use the "rp_sophia_animated_003_" free fbx animated model from https://renderpeople.com/free-3d-people/ [renderpeople.com]

Any help ?
Thank you

Attachments:
fbxAgentScale.hiplc (1.3 MB)
agentScalingFromDefinition.gif (547.0 KB)

User Avatar
Member
219 posts
Joined: Oct. 2015
Online
If I add a simple "transform" sop at the bottom of the agent it "works" but normal/shading are all broken.


Can't find any good solution for now
Any help ?

Attachments:
shading_broken.jpg (186.6 KB)

User Avatar
Staff
741 posts
Joined: Oct. 2012
Offline
You should wire third output (animation skeleton) into the Agent from Rig SOP, not the second output (bind pose). The bind skeleton doesn't necessarily have all of the joints
Because of this, when the animation clip is applied some of the local transforms are lost since they aren't joints in the agent's skeleton. If you turned on Set Current Clip on the Agent Clip SOP you'd see the same issue as when the agent definition is loaded onto a new agent instance.
User Avatar
Member
219 posts
Joined: Oct. 2015
Online
Ho ! So simple finally !!
@cwhite, Thank you very much !
  • Quick Links