Tutorial: Creating models in 3dsMa and Render via JPCT-Bones

原创 2015年11月16日 12:44:13

The JPCT-Bones can be used forrendering Skeleton Model and the workflow can be described as follow:


So, for this tutorial, thewhole pipeline ofModel Creation, Exportand Render via 3ds Max & Bones  will be described and i will teach you step bystep to :

·        create a simple Skeleton Model;

·        export to specified file whichBones knows;

·        rendering in Android Projectof Bones;



Ok , here we go ~


Platform you need:

·        Engine: Bones

·        Model Creation: 3ds Max 2013

·        Plugin: OgreMax(http://www.ogremax.com/downloads)


Create Model and Bones


Createa new file;
Select the “Create” tab > “Geometry”> “Cylinder”;

Drawa cylinder, lets say with 6 height segments Also check “Generate Mapping Coords”;


Click“Create” tab > “Systems” > “Bones”;

Addsome bones in the center of the cylinder;

Selectthe cylinder, right click it and click “Convert To:” > “Convert to EditableMesh” to prevent issues with OgreMax;

Click the “Modify” tab > “ModifierList” and add the “Skin” modifier

Beneath“Bones:” click “Add” and select all of your bones(You may also edit the envelopes, but for a small test the default settings are ok);

Create the animation


Selectthe cylinder, and click “Display” tab > “Freeze Selected” so it is easier to select thebones during animation;
enable the “Auto Key” mode;

Thefirst key frame will be created automatically. Move the animation track sliderto frame 5;
Move the selected bones a bit. Thecylinder mesh will be deformed. Because you are in the “Auto Key” mode, a keyframe will be created;

Createsome additional key frames. You may also select more bones and move or rotatethem. I’ve created 25 frames ;

After creating the animation,disable the “Auto Key” mode;

OgreMax settings and export

Openthe “OgreMax” > “Scene Settings” dialog from the menu;

Inthe “Meshes” tab, enable “Export XML Files” and disable “Export Binary Files” and“Export Vertex Colors” as well;

Clickthe “Environment” tab and uncheck “Export Environment Settings”;

Otherwisethe JME importer will throw a NullPointerException;



Whilehaving the cylinder selected, open the “OgreMax”> “Object Settings” dialogfrom the menu;

Openthe “Mesh Animations” tab and select type “Skeleton”, “Export Skeleton” : “Yes”;
Below “Mesh Animations” hit the “Add…”button;
Assign a name to the track, maybe “Cylinder”.The track type must be “Skin. Set the right “Start/End Frames” for youranimation;

Hitok and you will see the animation in the table. ( You may add additionalanimations by selecting other frame ranges, if desired );

Whilehaving the cylinder selected, open theOgreMax”> “GlobalSettings” dialog from the menu;

Haveto check the Up Axis to Z , (this will avoidthe model lie down on the Markfor AugmentedReality Application.);

Finishing all setting above, click “OgreMax”  > “Export” >”Export Scene” to exportxxxxxx.scene;

And then , You'll get a xxxxxx.mesh.xmland xxxxxx.skelten.xml file, pass them to “./Bones/script/”;

Usage the command line to runthe function to transfer this two file to the file that the bones knows :


Usage(or you can refer the cut pic as follow):







You can test your model( xxxxxx.bones) with the LoadBonesFormatSample program in Bones's examples.



A tutorial on Hidden Markov Models and Selected Applications in Speech Recognition---第一部分

说明:原论文《A tutorial on Hidden Markov Models and Selected Applications in Speech Recognition》是一篇隐马尔可夫模型...
  • jkkl2016
  • jkkl2016
  • 2013年06月09日 22:05
  • 1705


1.VS版本问题 使用VS2013时,WIC组件出现IWICImagingFactory初始化失败,更换成VS2010可正常初始化. 2.WIC组件创建解码器问题 D2D下加载图片必须使用WIC...
  • u010132495
  • u010132495
  • 2016年11月01日 13:10
  • 1245

Neural Machine Translation and Sequence-to-sequence Models: A Tutorial

Graham Neubig (Submitted on 5 Mar 2017) This tutorial introduces a new and powerful set of techniq...
  • AMDS123
  • AMDS123
  • 2017年04月14日 11:24
  • 6651

干货丨致研究者:2018 AI 研究趋势

注:本文共7625字,阅读约需45分钟2017 年是机器学习领域最有成效、最具创意的一年。现在已经有很多博文以及官方报道总结了学界和业界的重大突破。本文略有不同,Alex Honchar在Medium...
  • R1uNW1W
  • R1uNW1W
  • 2018年01月02日 00:00
  • 1877

Tutorial 14 : Render To Texture

render to texture
  • arag2009
  • arag2009
  • 2017年03月14日 17:19
  • 292


  • qq_30501909
  • qq_30501909
  • 2016年05月20日 15:53
  • 1813

Maya Render tutorial

使用maya 做论文 动画 渲染 的入门
  • u011520133
  • u011520133
  • 2016年03月31日 11:17
  • 598


这是CMU的助理教授Graham Neubig的一篇tutorial的翻译,原文来自Neural Machine Translation and Sequence-to-sequence Models...
  • WUTab
  • WUTab
  • 2017年06月26日 16:46
  • 289

CreateRenderTarget 和 CreateTexture区别

  前几天做全屏抗锯齿,发现所有RT渲染的结果 zBuffer 错乱. D3D 报的错误,是RenderTarget 的深度和模版格式不匹配。先以为CreateDepthStencilSurface ...
  • rabbit729
  • rabbit729
  • 2011年04月25日 14:00
  • 7683

Tesseract OCR Tutorial

from: https://www.raywenderlich.com/93276/implementing-tesseract-ocr-ios Tesseract OCR Tutorial...
  • Real_Myth
  • Real_Myth
  • 2016年04月22日 16:32
  • 1049
您举报文章:Tutorial: Creating models in 3dsMa and Render via JPCT-Bones