Topic - Free BVH Loader Kit released!

Page 1 of 2
   1  2  Next  Last 
Hello,

So here's a Kit that will let you load .bvh motion capture files into modo:
https://dl.dropbox.com/u/56931727/BVHLoader/LP_BVHLoader.zip

And here are some notes on installation and usage:

Installation:
Drag BVHLoader folder into one of these locations:
-modo's User Configs
-modo's User Scripts
-modo content Kits folder

Usage:
BVH Loader lives in "bvh" tab that is added to Commands toolbar found in Setup and Animate Tabs of default modo's layout.

There are a couple of settings:
Height - this is the absolute height that you want the bvh skeleton to have after import
Fit To Height - loader will rescale imported skeleton to make sure it's exactly the size you set in Height. If this setting is off the imported skeleton will have a scale from BVH file (which usually means it'll be HUGE in modo world)
Fit To Scene Time - bvh files may have high framerates such as 120fps and if your scene has much smaller framerate and you do not want to load all the extra data set this setting to on. It will automatically skip extra bvh frames to fit your current scene's fps. If you set this setting to off Loader will change scene fps to match the one in bvh file and will load all its frames.
Skeleton Color - sets the color for drawing skeleton's joints
Load BVH Motion    - opens file dialog and loads the bvh file.

I hope it'll work well, I've checked it with some files and all seemed to load fine.



Greetings,
Lukasz
thank you very much Lukasz. this will make a lot of guys very happy.
You have an error in your index.cfg

<configuration kit="BVHLoader" version="1.0" and="rel]601">

Your kit will only install on greater than 601 (eg 701 which doesnt exist)

Use
<configuration kit="BVHLoader" version="1.0" and="rel]501">

OR

<configuration kit="BVHLoader" version="1.0" and="rel=601">

There is also another BVH loader, that isnt set up as a kit. It uses the same script name as yours "bvhloader.py" so there might be some conflicts.

It might be a good idea to rename your script with a prefix eg. LP_BVHloader.py

--
Win7 64/Core i7-975 3.33GHz/12GB RAM/GTX 670/Wacom Intuos4 M
I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live - Jesus Christ

Thanks for this great script

--
Win7 64/Core i7-975 3.33GHz/12GB RAM/GTX 670/Wacom Intuos4 M
I am the resurrection, and the life: he that believeth in me, though he were dead, yet shall he live - Jesus Christ

Hey Funk,
Thanks for spotting the error :)
I changed this in the very last minute to make script work with future modo releases and didn't notice that it makes it disappear in 601 :)
I also changed the kit and scipt names to avoid conflict with the existing loader. The link in the first post is updated.
Thanks for tips again!

Greetings,
Lukasz
Thanks so much for releasing this to the modo community Lukasz!

-Will
Thanks Lukasz!
Thank you Lukasz. I'll play very soon with it.

Carlos Puebla //Sculptor &amp; Technical Artist
ncpuebla@gmail.com

cheers Guys, I hope it'll work well for you :)

Greetings,
Lukasz
Sorry for my ignorance, but no 601 here right now. Also no experience at all dealing with mocap files.

Does this take care of calibrating the motions to different proportions? Or do we have to make some adjustments if, for example, the arms are much longer or shorter?

Also, is there a way to directly capture into Modo, from a Kinect for example?

Just curious, sorry for the dumb questions.

Chris Burkert-facebook.com/mhy3d

Message edited by mhy3d on 9/15/2012 - 10:47 AM

wow.. now I just need to convert all that biped stuf to bvh
Lukasz

Thanks for this. Had a chance to try this for a short time today and it seems to work very well. All I did was load a BVH and then the stock man from the modo content. In setup mode I moved a few joints around to roughly match and then heat bound the skeleton to the mesh. Then hit play and have a moving character. Much like JimmyRIG that I have tried in the past but all done in modo and with more control it seems. It would be nice to know how many frames there are in the BVH file but I think there are some utilities to do that.



Jeff

www.LiquidLight3D.com

Message edited by JeffNet on 11/17/2012 - 11:02 AM

Quote from JeffNet :
I don't have a Kinect but this has me wishing I did. I also found FreeMoCap.com which lets you capture with Kinect, email the data and they email you back a BVH file.

Quote from Chris B :
Also, is there a way to directly capture into Modo, from a Kinect for example?


http://forums.luxology.com/topic.aspx?f=4&t=65366
It works great here!
ChrisB: This is just a simple loader, it doesn't have any of the functionality you ask for I'm afraid.

JeffNet: Cool! Good to see it working. As for previewing number of frames - I used BVHacker to preview motion capture files, it also has quite a bit of extra functionality to process bvh files.
Have a look here:
http://davedub.co.uk/bvhacker/

Greetings,
Lukasz
Hello,

I installed the script but I get an error?

"Unknown script LP_BVHLoader"

Tell me how I can fix the problem!

thank you
Didier,
Where did you put the entire LP_BVHLoader kit?
Do you have LP_BVHLoader.py file under: Kit Location/LP_BVHLoader/Scripts ?

Greetings,
Lukasz
Quote from Lukasz Pazera :
Didier,
Where did you put the entire LP_BVHLoader kit?
Do you have LP_BVHLoader.py file under: Kit Location/LP_BVHLoader/Scripts ?

Greetings,
Lukasz


I put in the folder:
\ Users \ Didier \ AppData \ Roaming \ Luxology \ Scripts \ LP_BVHLoader.py


Message edited by didier perrin on 9/17/2012 - 8:23 AM

That looks wrong. You need to have the entire Kit folder under Luxology/Scripts, so the path to the script itself should be something like this:
\ Users \ Didier \ AppData \ Roaming \ Luxology \ Scripts \ LP_BVHLoader \ Scripts \ LP_BVHLoader.py
If you copy the entire LP_BVHLoader folder to:
\ Users \ Didier \ AppData \ Roaming \ Luxology \ Scripts
you should be good to go.

Greetings,
Lukasz
Quote from Lukasz Pazera :
That looks wrong. You need to have the entire Kit folder under Luxology/Scripts, so the path to the script itself should be something like this:
\ Users \ Didier \ AppData \ Roaming \ Luxology \ Scripts \ LP_BVHLoader \ Scripts \ LP_BVHLoader.py
If you copy the entire LP_BVHLoader folder to:
\ Users \ Didier \ AppData \ Roaming \ Luxology \ Scripts
you should be good to go.

Greetings,
Lukasz


Cool.
everything works fine
thank you very much for your help
Thanks for this great script
Cheers, good to know you sorted it out :)

Greetings,
Lukasz
Here is a quick OpenGL preview using the BVH Loader.

Jeff

www.LiquidLight3D.com

Cool! :)

Greetings,
Lukasz
So step 1 would be to install the kit and download a few BVH's and load them in a scene.

Now you have a moving skeleton without geometry so we hit setup and try our best to fit the skeleton to a mesh, when we're happy we bind it and get out of setup mode.

Are there any secrets involved with this that can improve the result?

BVHacker seems like a good tool to alter the motion before hand but how about after we already bind it? For example, is it possible to update a rig with an updated BVH?

Are there any other ways to override the motion from the BVH once it is inside modo and binded, or even before bind? (I guess here is what we would have needed animation layers)

This kit rocks btw, I'm going to have a lot of fun with it. Wish I could update the motion with the skeleton tool though and maybe add a few joints that are missing from the BVH skeleton.

Message edited by Sodastreamer on 9/22/2012 - 4:05 AM

Thank you Lukasz! Very nice KIT. Thank you for sharing.

www.behance.net/tomerk | twitter: TLechocinski

Page 1 of 2
   1  2  Next  Last 
modo is a registered trademark of Luxology LLC., in the USA and/or other countries.
All products or brand names mentioned are trademarks or registered trademarks of their respective holders.