<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - BVH Tutorial]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=59&amp;type=atom"/>
	<updated>2013-08-13T21:04:49Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=59</id>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4618#p4618"/>
			<content type="html"><![CDATA[<p>Great stuff, thank you!</p><p>yes, that was pretty much straight forward, just what i hoped for.</p><p>easy, once you know it that is... <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> </p><br /><p>thanks again,<br />erik</p>]]></content>
			<author>
				<name><![CDATA[erikals]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2548</uri>
			</author>
			<updated>2013-08-13T21:04:49Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4618#p4618</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4617#p4617"/>
			<content type="html"><![CDATA[<p>Done. hope that&#039;s clear enough <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2013-08-13T20:55:29Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4617#p4617</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4598#p4598"/>
			<content type="html"><![CDATA[<p>hi there,</p><p>thanks for putting up this info :]</p><p>i wonder, is it possible for you to re-post the notepad part on how to merge bvh files?<br />as i&#039;m using another 3D package this could prove very useful.</p><p>in LightWave one can use IKBooster to easily tweak bvh animations.</p>]]></content>
			<author>
				<name><![CDATA[erikals]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2548</uri>
			</author>
			<updated>2013-08-13T13:41:39Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4598#p4598</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=474#p474"/>
			<content type="html"><![CDATA[<p>Edit, Removed the notepad part for merging bvh , as doing it directly in blender is just 100 times better <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2011-08-20T16:21:23Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=474#p474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=366#p366"/>
			<content type="html"><![CDATA[<p>Great tutorial! Thanks a lot for that one! <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Achim Luebbeke]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=29</uri>
			</author>
			<updated>2011-06-08T18:55:40Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=366#p366</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=364#p364"/>
			<content type="html"><![CDATA[<p>Finally no videos coming, PC crash and lost everything when i was almost done, so i made it with only screens&amp;gif</p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2011-06-07T11:10:20Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=364#p364</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=296#p296"/>
			<content type="html"><![CDATA[<p>Hi and thanks <img src="http://forum.maratis3d.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>I made this theme myself and unfortunately dont know in wich file the settings are saved,<br />but its easy to do, go under user preferences -&gt; theme, and toy a bit (or tell me wich file it is and i upload it <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Subtitled videos are coming for this tutorial, as soon as i found the good quality/size ratio !</p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2011-04-23T09:46:54Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=296#p296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=294#p294"/>
			<content type="html"><![CDATA[<p>Thanks a lot Vegas, great tutorial. Very cool blender theme, may I ask where you got it? Is it 2.49 or 2.5?</p><p>regards.<br />ALvaro</p><p>ps. NM the last question, just noticed it&#039;s blender 2.5. It would be great to have that theme <img src="http://forum.maratis3d.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[afecelis]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=69</uri>
			</author>
			<updated>2011-04-23T00:37:35Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=294#p294</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=197#p197"/>
			<content type="html"><![CDATA[<p>Thanks that&#039;s great !</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2011-03-08T06:21:05Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=197#p197</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[BVH Tutorial]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=189#p189"/>
			<content type="html"><![CDATA[<p>Introduction to .BVH files</p><p>A .bvh file is nothing more than a text file that has data that was captured from a moving skeletal system. Another name for this type of data capture is &quot;Motion Capture&quot; which has been abbreviated as mocap.</p><p>Explanations on BVH files :<br /><a href="http://centralsource.com/blender/bvh/what.htm">http://centralsource.com/blender/bvh/what.htm</a></p><p>Short example :<br /><a href="http://www.youtube.com/watch?v=HUnivUVbwg8">http://www.youtube.com/watch?v=HUnivUVbwg8</a><br />to be simple, animations you see there can be applied to ANY humanoïd 3d model</p><p>Where to find them ?</p><p>- <a href="https://sites.google.com/a/cgspeed.com/cgspeed/motion-capture/cmu-bvh-conversion">https://sites.google.com/a/cgspeed.com/ &#133; conversion</a><br />- <a href="http://mocap.cs.cmu.edu/">http://mocap.cs.cmu.edu/</a><br />- <a href="http://centralsource.com/blender/bvh/files.htm">http://centralsource.com/blender/bvh/files.htm</a></p><p>First site have a 2500 motions released for FREE !<br />I never tested bvh of others site since with 2500 motions from CG i have more than i ever needed =p</p><p>Using BVHacker</p><p><a href="http://davedub.co.uk/bvhacker/">http://davedub.co.uk/bvhacker/</a></p><p>BVHacker is a free tool to tweak and arrange BVH files if it doesnt fit your needs<br />With it, you can :</p><p>- View BVH anims<br />- Modify/reset Joint rotations &amp; translation<br />- Crop an animation<br />- Divide Frame rate per 2/4/8/16...<br />- Add a first frame with a T pose on the bvh model<br />- Save/load bvh&#039;s<br />- And more but thats all we need to know</p><p>▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀<br /><strong>PREPARING BVH</strong><br />▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀</p><p>To use a BVH in a game, let&#039;s say for a playable character, you must set translations of the animation to 0, wich will make it stay on place</p><p>- Reset the Translation Pivot in all bvh u gonna use, that will set rotations x, y, z to 0 (push XYZ button)<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BvHTool/screenshot.4-0%20%282%29.png" alt="PunBB bbcode test" /></span><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BvHTool/screenshot.4-1%20%282%29.png" alt="PunBB bbcode test" /></span></p><p>This will make the animation to stay on place (and this is needed if you want combine<br />multiple BVH files -&gt; more on this later)</p><p>NOTE. Don&#039;t reset the Rotation pivot otherwise the animation will look buggy (try urself)</p><p>A good thing to do is cropping an animation (because you dont need 1000 frames for a simple run loop, wich can be done in few frames</p><p>All you have to do is here :<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BvHTool/name%20%282%29.png" alt="PunBB bbcode test" /></span></p><p>Mark in : Select the beggining of the movement<br />Mark out : Select the last frame of the movement <br />Crop : Delete everything that is not between mark in and mark out<br />Knit : Delete some frames to make a seamless loop</p><p>Here&#039;s a cropped run cycle for example :<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BvHTool/Perf2.gif" alt="PunBB bbcode test" /></span></p><p>Note there is some movement&#039;s dont need to be a perfect loop, like a kick or something :<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BvHTool/Spin2.gif" alt="PunBB bbcode test" /></span><br />Because these ones will be played only one time in game</p><p>▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀<br /><strong>BLENDER PART</strong><br />▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀</p><p>Simple use of a BVH file in blender</p><p><strong>Step 1</strong> : Load up 3D model<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/Untitled_001.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 2</strong> : Go to File -&gt; Import BVH motion capture</p><p><strong>Step 3</strong> : Don&#039;t touch anything and in armature tab, set &quot;Rest position&quot; and Enable X-rays<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.9-3.png" alt="PunBB bbcode test" /></span><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.9-4.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 4</strong> : Scale, Translate, Rotate the armature to fit in the model (as much as possible)<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.png" alt="PunBB bbcode test" /></span><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/Untitled_0c01.png" alt="PunBB bbcode test" /></span><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.9-7.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 5</strong> : Select 3D model -&gt; Hold Shift -&gt; Select armature then press CONTROL + P, and select Set Parent To With Automatic Weights<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/Untitled1_001.png" alt="PunBB bbcode test" /></span><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/name2.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 6</strong> : Under Armature tab, press &quot;Pose position&quot; and turn off X-rays<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/name.png" alt="PunBB bbcode test" /></span><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.9-2.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 7</strong> : Press play in the timeline and see the results<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/Anim2.gif" alt="PunBB bbcode test" /></span></p><p>If theres problem with weight mapping, you can correct it with weight paint or vertex groups</p><p>Select all, export with maratis exporter (dont forget to activate animation) and ur done.</p><br /><p>▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀<br /><strong>MERGING BVH&#039;s TOGETHER</strong><br />▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀</p><p>So here we will store all bvh anim we want to use in a single blender file</p><p><strong>Step 1</strong> : Open Blender and set a window to NLA Editor<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.1.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 2</strong> : File -&gt; Import -&gt; Import BVH<br />You will get this :<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.2.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 3</strong> : Push the thing that looks like a snowflake <br />You will get this :<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.3.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 4</strong> : Import another BVH file (you will have 2 Skeletons on the 3d scene now)<br /><strong>Step 5</strong> : Repeat step 3</p><p><strong>Step 6</strong> : Select the first BVH track and in NLA Editor menu, press Add -&gt; Add track(s)<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.4.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 7</strong> : Still in NLA Editor menu, press Add -&gt; Add Action strip, a search window will pop up, just enter the name of your 2nd bvh file, then validate<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.5.png" alt="PunBB bbcode test" /></span></p><p><strong>Step 8</strong> : You can now delete the 2nd Skeleton, as the animation is stored in the first skeleton, without overwriting the base animation</p><p><strong>Step 9</strong> : Select First animation bar and in tool shelt, set extrapola to &quot;nothing&quot; and blender to &quot;replace&quot;<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/screenshot.6.png" alt="PunBB bbcode test" /></span></p><p>Notes : With that method you can add any animation you want :<br /><span class="postimg"><img src="http://dl.dropbox.com/u/19970067/MaratisShots/BVH%20in%20Blender/1.png" alt="PunBB bbcode test" /></span><br />and easly adjust animation speed (edit -&gt; scale) of every single anims</p><p>▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀<br /><strong>MERGING BVH&#039;s TOGETHER : Alternate method</strong><br />▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀</p><p>You can use a simple text file editor to merge bvh files, for example<br />let&#039;s say we have two files : BVH1 and BVH2 ;</p><p>open BVH1 with any text editor and copy everything above &quot;frame time&quot;. take note of the total &#039;&#039;frames&quot; (10 in the screenshot)</p><p><span class="postimg"><img src="https://dl.dropboxusercontent.com/u/19970067/MaratisShots/BVH%20in%20Blender/bvhcut.png" alt="PunBB bbcode test" /></span></p><p>now, close BVH1 and open BVH2. paste the stuff from BVH1 at the very end of BVH2. <br />then change the total frame number (just below frame time) for example, if BVH1 is 22 frames, and BVH2 is 77 frames put frames : 99 in BVH2 file.</p><p>Well thats all for now <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Vegas]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=53</uri>
			</author>
			<updated>2011-03-07T05:47:09Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=189#p189</id>
		</entry>
</feed>
