<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Lina,<br>
<br>
Yes, I think this could help.<br>
<br>
Indeed, in our WIP FBX branch, I just added support to import FBX
bones hierarchy when they do not have a root 'Null' model. This is
still rather experimental (and not easy/nice in code, since we have
to create two different things out of a single FBX node), but it
seems to work from a few basic tests, needs more though.<br>
<br>
However, issue with not importing at all Null node would be that,
since it has all Blender's armature transform/object-level-anim,
this would be lost in UE4. Don't you support at all parenting of
bones' hierarchy?<br>
<br>
(I realize ways how armatures/skeletons are handled differ quite
drastically between applications, which makes their exchange
especially complex :/ ).<br>
<br>
Bastien<br>
<br>
<div class="moz-cite-prefix">Le 07/07/2014 19:37, Lina Halper a
écrit :<br>
</div>
<blockquote
cite="mid:79D602BCAAC5A14D8CB92DB9CAD29D2258A8C6EF@MAIL-03.epicgames.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello,
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">>></span>
Note that armature is **not** added as an additional root
bone, though, but as an 'empty' (Null FBX Model type), which
implies usual object-parenting relationship. Unity seems to
support this rather nicely, while UE4 fails at it.<br>
<br>
<span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">We
import empty node as a bone, but I think we can support that
as an option, would that help this case?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">We
have an option of “bImportMeshesInBoneHierarchy”, which
specifies if you’d like to import mesh as a part of bone
hierarchy, but along with that, we can have an option to
“bImportNullNodeInBoneHierarchy”. If you have it off, we
won’t import null node.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">However,
exporting would be problem if we do. Since we don’t have
that info, it won’t export, but I suppose Blender will
create Amateur if it doesn’t exist on root?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks,
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">--Lina,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
<a class="moz-txt-link-abbreviated" href="mailto:bf-gamedev-bounces@blender.org">bf-gamedev-bounces@blender.org</a>
[<a class="moz-txt-link-freetext" href="mailto:bf-gamedev-bounces@blender.org">mailto:bf-gamedev-bounces@blender.org</a>]
<b>On Behalf Of </b>Bastien Montagne<br>
<b>Sent:</b> Wednesday, July 02, 2014 10:28 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:bf-gamedev@blender.org">bf-gamedev@blender.org</a><br>
<b>Subject:</b> Re: [Bf-gamedev] FBX Exporter to UE4 and
Root Motion<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Alan,<br>
<br>
That’s the second time this issues shows up with UE4… So I
guess I’ll have to provide an option not to export that
armature parent inFBX (which means I’ll also have to bake
armature animation into each root bones :/).<br>
<br>
Note that armature is **not** added as an additional root
bone, though, but as an 'empty' (Null FBX Model type), which
implies usual object-parenting relationship. Unity seems to
support this rather nicely, while UE4 fails at it.<br>
<br>
Also implies I’ll have to update my import armature code, to
handle cases were bones have no root 'Null' object (wonder how
to distinguish armatures then, probably just assuming each
root bone makes an armature.).<o:p></o:p></p>
<div>
<p class="MsoNormal">Le 02/07/2014 15:57, Alan Robinson a
écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">Hey
there folks, <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">I'm
developing a game called "Atajrubah" , using Unreal
Engine 4 and Blender for modelling,rigging and
animation. Part of the technical setup is implementing
root motion in our characters. I've been working with
Jeremy (he worked on Sintel and Tears of Steel
previously) and he's really on the ball with his rig and
a great animator. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">We've
got everything parented to a root bone but the fbx
exporter keeps adding the rig object as an additional
static bone, killing the motion of the root bone we've
set up. UE4 doesn't have the option of selecting which
bone that you want to inherit root motion from, so it
defaults to the first bone in the hierarchy.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">I've
been wrestling with the FBX exporter for a while now
and have tried redbeard's solution , trying to stop
the exporter from exporting the rig object as an
additional parent bone. However the script fails to
export with the modifications that I've made (granted
that my experience is with c++ and the UE4 code base ,
so no surprise there I guess ).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">[Redbeard's
exporter work around]</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">(<span
class="apple-converted-space"> </span><a
moz-do-not-send="true"
href="http://krisredbeard.wordpress.com/2012/06/07/blender-baking-fbxexport/"
target="_blank"><span style="color:#1155CC">http://krisredbeard.wordpress.com/2012/06/07/blender-baking-fbxexport/</span></a><span
class="apple-converted-space"> </span>)<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">ideasman42
from the IRC channel recommended I get in touch with
mont29 for further support. Any help with this would be
greatly appreciated :)<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">You
can find more information about the game at the links
below, please do let me know your thoughts on this.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">-
MrNexy<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">[Atajrubah
IndieDB page]</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><a
moz-do-not-send="true"
href="http://www.indiedb.com/games/atajrubah/"
target="_blank"><span style="color:#1155CC">http://www.indiedb.com/games/atajrubah/</span></a><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222">[Atajrubah
Facebook page]</span></b><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><a
moz-do-not-send="true"
href="https://www.facebook.com/Atajrubah"
target="_blank"><span style="color:#1155CC">https://www.facebook.com/Atajrubah</span></a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Bf-gamedev mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Bf-gamedev@blender.org">Bf-gamedev@blender.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.blender.org/mailman/listinfo/bf-gamedev">http://lists.blender.org/mailman/listinfo/bf-gamedev</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Bf-gamedev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-gamedev@blender.org">Bf-gamedev@blender.org</a>
<a class="moz-txt-link-freetext" href="http://lists.blender.org/mailman/listinfo/bf-gamedev">http://lists.blender.org/mailman/listinfo/bf-gamedev</a>
</pre>
</blockquote>
<br>
</body>
</html>