University of Southern CaliforniaUSC
USC ICT TwitterUSC ICT FacebookUSC ICT YouTube

How to use avatar from Fast Avatar Capture in Smart Body with Kinect | 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
How to use avatar from Fast Avatar Capture in Smart Body with Kinect
March 20, 2017
6:20 am
Avatar
New Member
Members
Forum Posts: 1
Member Since:
March 14, 2017
sp_UserOfflineSmall Offline

Greetings!

I have successfully tried using KinectDemo.py with SmartBody sbgui and Kinect Viewer to control the demo character in front of my Kinect camera.

I also managed to make my own avatar using Fast Avatar Capture software and later using that mesh of mine in the Autorigger and Reashaper software to create skeleton inside my mesh and export it as a .dae file.

My question is:

How can I after "Fast Avatar Capture" and "Autorigger and reshaper" use the .dae file I got as a product of those two, to control that scanned avatar of mine with Kinect jus like I controlled the demo one? Is it possible at all, is the procedure straightforward and is there any walkthrough written on how to do that?
I tried drag and dropping my .dae file into SmartBody which allows me to preview the mesh of my avatar (but without the textures? it is grey. why?) in sbgui.
Also I noticed that by using Reatrget Viewer option and using the Behavior Set tab I can use the pre-existing locomotion and gestures to animate my character with those action (for example: kicking, jumping, stretching etc.)
Moreover, by clicking Apply AutoRig there are some errors: "No pawn selected". Although .dae file is supposed to already be autorigged so I imagine this is redundant to use.
But drag and dropping mesh .dae file into SmartBody works if I want to apply AutoRig, but after trying to use the Kinect Viewer an error is produced: "receiver skeleton kinect rotation failed"

March 20, 2017
9:57 am
Avatar
Admin
Forum Posts: 944
Member Since:
December 1, 2011
sp_UserOfflineSmall Offline

Try this:

 

put your mesh and textures (let's call it me.dae) into a subfolder like this:

smartbody/data/mesh/me/me.dae

In the KinectDemo.py file, load in your mesh and skeleton assets:

scene.loadAssetsFromPath("mesh/me")

now create the right skeleton (line 74) instead:

 

bradSkeleton = scene.createSkeleton("me.dae")

and assign the proper mesh (line 88)

brad.setStringAttribute("deformableMesh", "me.dae")

 

Now you are essentially running the KinectDemo.py script with your own asset.

 

Ari

March 21, 2017
4:01 am
Avatar
kochi,kerala
New Member
Members
Forum Posts: 1
Member Since:
March 21, 2017
sp_UserOfflineSmall Offline
Awaiting Moderation

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 733

Currently Online: bonadio56, irmawy11
26 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Member Stats:

Guest Posters: 61

Members: 11750

Moderators: 3

Admins: 4

Forum Stats:

Groups: 1

Forums: 5

Topics: 409

Posts: 2264