Bones - Skeletal and Pose Animations for jPCT/jPCT-AE > Bones

How to export the mesh and skeleton xml to bones file

<< < (2/2)

lbb19930915:

--- Quote from: lbb19930915 on November 18, 2016, 05:27:12 am ---I have the same question.There are just a bones.jar,and how can I use it? Is there a example?please~

--- End quote ---

I now understand how wo use the commandLine.But I enter the following error. Can anybody help me?(__.mesh.xml is my mesh file)
java -classpath /Users/mac02/Desktop/studiospace/test/JpctTest/app/libs/bones.jar  raft.jpct.bones.util.JMEOgreImporter -out /Users/mac02/Desktop/jpct/che.bones -in /Users/mac02/Desktop/jpct/__.mesh.xml
Exception in thread "main" java.lang.NoClassDefFoundError: com/jmex/model/ogrexml/OgreLoader
   at raft.jpct.bones.util.JMEOgreImporter.loadGroup(JMEOgreImporter.java:109)
   at raft.jpct.bones.util.JMEOgreImporter.loadGroup(JMEOgreImporter.java:88)
   at raft.jpct.bones.util.JMEOgreImporter.run(JMEOgreImporter.java:69)
   at raft.jpct.bones.util.JMEOgreImporter.main(JMEOgreImporter.java:170)
Caused by: java.lang.ClassNotFoundException: com.jmex.model.ogrexml.OgreLoader
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   ... 4 more

raft:
use the provided scripts in scripts folder instead of directly using JMEOgreImporter. if you provide no arguments to script it will display usage

Navigation

[0] Message Index

[*] Previous page

Go to full version