University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

Converting fbx to .sk and animation | General SmartBody Discussion | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Converting fbx to .sk and animation
September 2, 2016
12:08 pm
Avatar
New Member
Members
Forum Posts: 1
Member Since:
September 2, 2016
sp_UserOfflineSmall Offline

Hello 

I am totally new to smartbody. I read the documentation and I think according to that I need the .sk file for creating a character.

  • I have the .fbx of the character I want to modify. How should I convert it to .sk?
  • Also, I can add locomotion, face expressions and movements in smartbody itself right? Do I need any additional files for animating the character? I am a bit lost.
  • Also, for the scripts, are all the scripts supposed to be in one particular folder?
  • What exactly does the media path signify? 

"assetManager.addAssetPath('motion', 'ChrBrad')
assetManager.addAssetPath('mesh', 'mesh')
assetManager.addAssetPath('script', 'scripts')
For example, here the first 'addAssetPath' means we will add a search path 'ChrBrad' for 'motion' type of assets into the
asset manager. So the system will search 'ChrBrad' directory when trying to load new motions or skeletons. Note that
'ChrBrad' is a relative directory to the system media path ( default media path is $SmartBodyDirectory/data ). You can
use scene.setMediaPath to change the media path directory. Similarly, the other 'addAssetPath' commands will set the
search path for 'mesh' and 'script' assets."

I followed these for script and motion, but I am not clear why things are going wrong. What do I have to do for it ?

Regards

Yoshita Sharma

September 6, 2016
10:15 am
Avatar
Admin
Forum Posts: 983
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Your best option for fbx is to convert it to .dae (COLLADA). You don't need the .sk file since the .dae that has a joint hierarchy can serve the same purpose.

SmartBody has behavior sets which are predefined sets of animation that can be quickly retargeted to the character, so once you bring in a character you can attach a behavior set to make them walk, gesture, etc.

 

The scripts can be anywhere you want. when you add an asset path that contains 'scripts' you are telling SmartBody which folders to look in to find the scripts.

The media path is a 'default' path under which files can be found. So you can specifiy an absolute path or a relative path. If you specify a relative path, the system will prepend the media path first.

 

Ari