How To Upload Animations From Blender To Second Life
Part II of BVH Blitheness Converting for OpenSim and 2d Life
This is Part Two of BVH Animation Converting for OpenSim and Second Life. Go Back to Part I
This article is about how to use Blender to catechumen BVH files for Opensim and Second Life
Blender Setup
First Blender and Navigate to the User Preferences Screen. I am using Blender version two.76 in this demo.
Click the Search box and blazon "BVH". Make certain the Import Export button for BVH files is checked, and click "Save User Settings"
Importing
You should at present have a BVH animation Import option in the File-Import card:
I am going to practise the Mutant Jumping assault:
You volition run across a screen with a large set of animation bones:
Yous tin can click the Play push at the lesser of the screen to see information technology moving:
You will need to set up the animation Start at "ane" in the menu at the lesser. The green line should be at the number i when you do this. You lot tin slide the green line with the left mouse, or click the Beginning: dialog box, and enter the value i.
Add the Avastar
I am using Avastar ii.0. Your screen may be slightly different here, but it works the same. Printing Shift-A and select Avastar, and if yous have 2.0, select "With Triangles". If you have the "Sparkles Pro" plugin, ,you could choose the Quads version of the Avastar.
A very tiny Avastar will appear where the cursor was. Don't panic! It does not really matter where the Avastar is, and the size volition exist stock-still in a few more clicks.
Hove the mouse over the three-D window and press the letter T. A menu will appear on the left. Go to the Animation Tab on the left.
This carte appears when there is one Avastar and a second armature in the 3d window.
The first 3 boxes should exist already filled in. The first 1 has the name of the animation you lot are converting from, in my case "jump_attack". The second should have the name "Avatar". If they are backwards, you will need to reverse them so the re-create goes from the BVH to the Avatar.
We will cover "Guess Map" before long, but first lets click the "Lucifer Scale": button and see it shrink the BVH armature down in size.
Avastar will usually make full in the Source and Target boxes.
I ended up with this. Become ahead and position both of yours so they are in the same first position.
Let's put them both in the standard T-pose by left-clicking each avatar in the Properties window and and so setting them to "Residual Position" in the Object Data Tab
They should both (more or less) line upward now.
Now click the X-ray and Names buttons on the Object Data window so we can see the bones.
Now right click the BVH armature, or left click it in the Outliner to select it. Become into edit style on the BVH armature. Change the Object Mode to Edit, or press (T)ab key,
=>
Now motility the bones to lucifer the Avastar. In my example, I used the B (box) central to draw a box around the upper part of the body, then used M and Z keys to (M)rab it and motility information technology upward on the (Z) centrality.
Get out the Edit mode, and go into Pose way.
Hover the mouse over the 3-D window and press "A" several times until the BVH armature is glowing. In the lesser window, you lot will encounter each frame of the animation lit in yellow.
Left click the last yellow line, and press "Due east" for "Finish" ( "S" moves the Commencement). In my example, the last line of the animation was on frame 115:
You can utilize the scroll wheel to zoom in. Yous can as well manually set the start frames (1) and finish frames by typing in the dialog boxes:
We are about set up to re-create the blitheness from the Mixamo armature to the 2nd Life armature!
Residue Pose
We need to Remainder Frame for the imported BVH. Correct-click the BVH armature, brand sure it is in pose mode, and set the Object Properties to Pose Position
Move the green line by left clicking it to the Blitheness frame 0, You tin can also type in a nil. Any frame exterior the animations can be used, only zero is typical.
Now over over the 3-D windows, click A to select all the bones in the armature, then select Pose-Clear Transform-All
Press "I" while hovering over the 3-D windows to insert a Keyframe. It will prompt yous for the blazon of recording to make. Select "Rotation".
Now you accept a T-pose keyframe at position zero.
Mapping
The BVH file does not match the Second life/Opensim armature. If it did, we would not have to go through all this mess. There is a push button I mentioned before, "Guess Mapping". It's on the left, in the T windows.
Click the button to the left of Guess Mapping to expose the suggested conversions:
The to-from list normally does not include the foot bones. This is normal for Second Life armatures. Mixamo animations work fine with the guessed mapping. You can accommodate these as necessary.
Transferring the Animation
The transfer process volition only copy animations that are betwixt Outset and Cease in the timeline. Check that they are set correctly. Both avatars should be in Pose Mode, and in a T-pose when the blitheness timeline is at 0
Press Transfer Motion and wait a few seconds.
At present click Play in the timeline. I have ready the original BVH armature to subconscious by right-clicking it and typing "H".
Save the animation
You lot have now converted the animation to SL and Opensim format. To export it, navigate the Organisation to the Return menu by clicking the camera in the properties window and scroll to the bottom:
You lot should be able to delete the original BVH armature now, load a new one, accommodate the kickoff and T-pose in a few more clicks and click Transfer to get some other 1 ready to upload.
-finish-
Source: https://www.outworldz.com/secondlife/Posts/Convert_BVH_Animations/Part%20II%20of%20BVH%20Animation%20Converting.htm
Posted by: thomascuslichavy.blogspot.com

0 Response to "How To Upload Animations From Blender To Second Life"
Post a Comment