Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - faceb

#1
its working, perfectly perfect  :D
thanks.
#2
i used blender 3d models at http://www.katorlegaz.com/3d_models/

the one i shared yesterday contains a sample animation which i made.
original model is http://www.katorlegaz.com/3d_models/human_male/0143/male-01-suit.zip.

screenshot of the model in blender is here:http://img707.imageshack.us/img707/1368/manz.jpg

however if i didnt misunderstand , you mean, by sorting bones in following skeleton.xml file, probably, i can resolve the problem ?
i will try it.
<skeleton>
<bones>
<bone id="14" name="hip">
<position x="0.000000" y="-0.000000" z="-0.727107"/>
<rotation angle="0.146724">
<axis x="1.000000" y="0.000000" z="0.000000"/>
</rotation>
</bone>
<bone id="81" name="abdomen">
<position x="0.000000" y="0.778774" z="1.265279"/>
<rotation angle="0.213292">
<axis x="-1.000000" y="0.000000" z="0.000000"/>
</rotation>
</bone>
.
.
.


one more thing, is there another way to convert 3d models to mesh xml?

#4

these are exported files from blender with orge exporter plugin for blander.

male.mesh.xml
http://www.2shared.com/document/96gHiqlc/malemesh.html

male.skeleton.xml:
http://www.2shared.com/document/--_XAEVM/maleskeleton.html

Scene.material(it seems bones dont user such a file)
http://www.2shared.com/file/frNBp45d/Scene.html

to get files there is a link at the bottom of the page "Save file to your PC: click here".

thanks for your quick response :)

#5
hey, i have been trying to run samples of bones. all of them running quiete good. but when i try to use another 3d model, some exceptions are thrown.

Exception in thread "main" java.lang.IllegalArgumentException: parent index should be less than joint index. o/w a joint array cannot be ordered such that parent comes first
at raft.jpct.bones.Joint.<init>(Joint.java:36)
at raft.jpct.bones.BonesImporter.convertJMEJoint(BonesImporter.java:359)
at raft.jpct.bones.BonesImporter.convertJMESkeleton(BonesImporter.java:332)
at raft.jpct.bones.BonesImporter.importOgre(BonesImporter.java:151)
at raft.jpct.bones.util.JMEOgreImporter.loadGroup(JMEOgreImporter.java:93)
at raft.jpct.bones.util.JMEOgreImporter.loadGroup(JMEOgreImporter.java:77)
at raft.jpct.bones.util.JMEOgreImporter.run(JMEOgreImporter.java:58)
at Converter.main(Converter.java:24)


im using blender to create animations, and ogre mesh export plugin to export them as mesh xmls.
i tried more than 5 different models, but i couldnt succeed.
hope one of you help me. thanks.