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.


Messages - Babu

Pages: 1 2 3 [4] 5
46
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 19, 2011, 09:18:10 pm »
hi raft,
I got the new files from my artist (not using shared vertices/geometry) and finally, I was able to load the multiple objects with the corresponding textures!!  ;D.  And thanks a ton for all your help and patience  :).  I think, I am off your back for some time  ;)

Note: Mailed u the screenshot as I couldn't figure out how to place an image in this post.

47
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 19, 2011, 01:08:21 pm »
raft, also I've mailed you the bunch of files..

48
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 19, 2011, 01:06:45 pm »
Quote
have tried downloading Ogre SDK? it contains OgreXMLConverter too.
Done that.  But the mac version of the SDK seems to be having some problem.  However, my artist was able to download the windows version of the converter and he sent the .xml files.

But when I ran them through the BonesImporter, I got the following exception.  Any hints on resolving this exception??
Code: [Select]
Skeleton created out of jME OGRE skeleton, 69 joints
Exception in thread "main" java.lang.NullPointerException
at raft.jpct.bones.BonesImporter.convertJMEMeshData(BonesImporter.java:431)
at raft.jpct.bones.BonesImporter.importOgre(BonesImporter.java:192)
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 raft.jpct.bones.util.JMEOgreImporter.main(JMEOgreImporter.java:147)

49
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 19, 2011, 08:58:59 am »
Quote
to run converter on your machine, get latest version of converter. seems as precompiled Windows version is not latest, so you can try building from source.

I got the source from their SVN.  But when I tried to build, I found that some more files are required.
Code: [Select]
1>Compiling...
1>main.cpp
1>d:\archive\main.cpp(30) : fatal error C1083: Cannot open include file: 'Ogre.h': No such file or directory
1>OgreXMLMeshSerializer.cpp
1>d:\archive\ogrexmlprerequisites.h(32) : fatal error C1083: Cannot open include file: 'OgrePrerequisites.h': No such file or directory
1>OgreXMLSkeletonSerializer.cpp
1>d:\archive\ogrexmlprerequisites.h(32) : fatal error C1083: Cannot open include file: 'OgrePrerequisites.h': No such file or directory
1>tinyxml.cpp
1>d:\archive\tinyxml.h(29) : fatal error C1083: Cannot open include file: 'OgrePrerequisites.h': No such file or directory
1>tinyxmlerror.cpp
1>d:\archive\tinyxml.h(29) : fatal error C1083: Cannot open include file: 'OgrePrerequisites.h': No such file or directory
1>tinyxmlparser.cpp
1>d:\archive\tinyxml.h(29) : fatal error C1083: Cannot open include file: 'OgrePrerequisites.h': No such file or directory
1>Generating Code...

I am searching for these missing files in their SVN, now  :(

50
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 18, 2011, 06:54:03 pm »
Quote
maybe there is an option like "export unused joints" ?
Ok, I will ask my artist to explore this.

Quote
Ogre also has an OgreMeshUpgrade tool, to upgrade mesh file to latest version. try using that before using OgreXMLConverter. if it doesnt help send me your mesh files
My OgreXMLConverter doesn't even launch.  It doesn't even show usage options.  I will try to explore ogre3d forum.  :(

Quote
we can try this, but only once  i cant do it all the time for you.
Thanks a lot.  Even doing once would be great  ;D.  I've just mailed you the .mesh and the .skeleton files.

51
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 18, 2011, 02:28:54 pm »
yesterday, when I was working with our artist, I got is confirmed that he is using a single skeleton.  But it's the OgreMax exporter that exports multiple skeletons... seems that it picks up the joints corresponding to the mesh its exporting.

we can try one more thing: I will get the single .mesh and .skeleton generated by the other exporter.  If your ogre2XML converter is working fine, may be we can try converting them to .xml files  ???

52
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 18, 2011, 01:44:54 pm »
sorry, raft.  My bad  :-[.
By mistake I sent the link for the folder instead of the documents.
The mesh files are really huge and so I wouldn't able to send them in mail attachments.  However I have sent the proper links this time to you by mail.

54
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 18, 2011, 07:54:37 am »
Quote
i'm surprised that OgreMax for Maya doesn't support exporting many objects. OgreMax for 3ds Max is quite successful. what happens if you select many objects and do export selected?

OgreMax, in fact, supports exporting many objects.  Only that it doesn't give an option to export them into a single xml file.  It generates multiple pairs of "mesh.xml and skeleton.xml" files, a pair each for an object.  i.e. for upper-body, it generates upper.mesh.xml and upper.skeleton.xml and for lower-body, it generated lower.mesh.xml and lower.skeleton.xml.

The exporter from ogre3d.org is able to generate a single .mesh file for all the objects; but we ran into problem when trying to convert that .mesh into .xml  ::)

55
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 17, 2011, 08:05:41 pm »
hi raft,
thanks a lot for the new API; that would my save my iteration stuff. ;D

Today, I was working with our artist to get all the meshes exported to a single .xml file.
Our artist is using OgreMax exporter (http://www.ogremax.com/downloads) to export from Maya.  This OgreMax exporter doesn't seem to give an option to export to a single .xml file.
Then we downloaded another Maya Exporter from http://www.ogre3d.org/forums/viewtopic.php?f=8&t=63214.  But with this we could only get the object format and not the xml one.
Then we downloaded OgreXMLConverter from http://www.ogre3d.org/tikiwiki/OgreXmlConverter&structure=Tools.  When tried in our artist's windows machine, it gave some error related to the absence of some serializer.
When tried in my mac, I got the following error
Code: [Select]
dyld: Library not loaded: @executable_path/../Frameworks/Ogre.framework/Versions/A/Ogre
  Referenced from: /Eng-Repo/Reference/Graphics/Skeletal-Animation/Tools/./OgreXMLConverter
  Reason: image not found
Trace/BPT trap
Do you have any idea what's going on??

56
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 16, 2011, 04:19:54 pm »
2) Is it possible to link each of these meshes to different textures??
yes of course, they are seperate objects

I was thinking that each mesh would have got loaded as an Animated3D.  So I thought of iterating through the AnimatedGroup and assign the appropriate textures to corresponding objects using the object names.  But I found that the objects don't have any specific name, but object3, object4 and so on.   :(
Is there a better way to find the object that one's looking for?

57
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 16, 2011, 12:15:11 pm »
thanks, raft. :)
I had in fact asked a single file from my artist (based on your previous suggestion) ... just waiting for the file from my artist...  meanwhile thought of trying out the multiple files that I had with me...
I'll check the single file out once I get the file and then get back to you.

58
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 15, 2011, 08:38:31 pm »
I tried number 1.  Everything seemed to go fine, but at the end, I got this exception...  ???
Code: [Select]
bash jmeOgre2Bones.sh -out fm.group.bones -rotation x180,y180 -in body_new/body.mesh.xml body_new/top.mesh.xml body_new/shorts.mesh.xml
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:07 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
-- total 69 joint(s) --
0 name: joint6, parent:
1 name: joint7, parent: 0:joint6
2 name: joint8, parent: 1:joint7
3 name: left_hip_joint, parent: 1:joint7
4 name: right_hip_joint, parent: 1:joint7
5 name: joint9, parent: 2:joint8
6 name: left_knee_joint, parent: 3:left_hip_joint
7 name: right_knee_joint, parent: 4:right_hip_joint
8 name: joint10, parent: 5:joint9
9 name: left_ankle_joint, parent: 6:left_knee_joint
10 name: right_ankle_joint, parent: 7:right_knee_joint
11 name: joint11, parent: 8:joint10
12 name: left_ball_joint, parent: 9:left_ankle_joint
13 name: right_ball_joint, parent: 10:right_ankle_joint
14 name: joint12, parent: 11:joint11
15 name: left_clavicle_joint, parent: 11:joint11
16 name: right_clavicle_joint, parent: 11:joint11
17 name: left_toe_joint, parent: 12:left_ball_joint
18 name: right_toe_joint, parent: 13:right_ball_joint
19 name: joint13, parent: 14:joint12
20 name: left_shoulder_joint, parent: 15:left_clavicle_joint
21 name: right_shoulder_joint, parent: 16:right_clavicle_joint
22 name: joint14, parent: 19:joint13
23 name: left_elbow_joint, parent: 20:left_shoulder_joint
24 name: right_elbow_joint, parent: 21:right_shoulder_joint
25 name: joint15, parent: 22:joint14
26 name: left_wrist_joint, parent: 23:left_elbow_joint
27 name: right_wrist_joint, parent: 24:right_elbow_joint
28 name: joint16, parent: 25:joint15
29 name: left_thumb_joint, parent: 26:left_wrist_joint
30 name: left_wrist1_joint, parent: 26:left_wrist_joint
31 name: right_thumb_joint, parent: 27:right_wrist_joint
32 name: right_wrist1_joint, parent: 27:right_wrist_joint
33 name: left_thumb1_joint, parent: 29:left_thumb_joint
34 name: left_index_joint, parent: 30:left_wrist1_joint
35 name: left_little_joint, parent: 30:left_wrist1_joint
36 name: left_middle_joint, parent: 30:left_wrist1_joint
37 name: left_ring_joint, parent: 30:left_wrist1_joint
38 name: right_thumb1_joint, parent: 31:right_thumb_joint
39 name: right_index_joint, parent: 32:right_wrist1_joint
40 name: right_little_joint, parent: 32:right_wrist1_joint
41 name: right_middle_joint, parent: 32:right_wrist1_joint
42 name: right_ring_joint, parent: 32:right_wrist1_joint
43 name: left_thumb2_joint, parent: 33:left_thumb1_joint
44 name: left_index1_joint, parent: 34:left_index_joint
45 name: left_little1_joint, parent: 35:left_little_joint
46 name: left_middle1_joint, parent: 36:left_middle_joint
47 name: left_ring1_joint, parent: 37:left_ring_joint
48 name: right_thumb2_joint, parent: 38:right_thumb1_joint
49 name: right_index1_joint, parent: 39:right_index_joint
50 name: right_little1_joint, parent: 40:right_little_joint
51 name: right_middle1_joint, parent: 41:right_middle_joint
52 name: right_ring1_joint, parent: 42:right_ring_joint
53 name: left_index2_joint, parent: 44:left_index1_joint
54 name: left_little2_joint, parent: 45:left_little1_joint
55 name: left_middle2_joint, parent: 46:left_middle1_joint
56 name: left_ring2_joint, parent: 47:left_ring1_joint
57 name: right_index2_joint, parent: 49:right_index1_joint
58 name: right_little2_joint, parent: 50:right_little1_joint
59 name: right_middle2_joint, parent: 51:right_middle1_joint
60 name: right_ring2_joint, parent: 52:right_ring1_joint
61 name: left_index3_joint, parent: 53:left_index2_joint
62 name: left_little3_joint, parent: 54:left_little2_joint
63 name: left_middle3_joint, parent: 55:left_middle2_joint
64 name: left_ring3_joint, parent: 56:left_ring2_joint
65 name: right_index3_joint, parent: 57:right_index2_joint
66 name: right_little3_joint, parent: 58:right_little2_joint
67 name: right_middle3_joint, parent: 59:right_middle2_joint
68 name: right_ring3_joint, parent: 60:right_ring2_joint
-- --
Skeleton created out of jME OGRE skeleton, 69 joints
Created skeleton animation clip: leg_test
Loaded ogre file: body_new/body.mesh.xml, scale: 1, rotation: Quaternion [X=-6.123234E-17, Y=6.123234E-17, Z=1.0, W=3.7493998E-33]
1 sub objects, 1 skin animation(s), 0 pose animation(s)
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
-- total 69 joint(s) --
0 name: joint6, parent:
1 name: joint7, parent: 0:joint6
2 name: joint8, parent: 1:joint7
3 name: left_hip_joint, parent: 1:joint7
4 name: right_hip_joint, parent: 1:joint7
5 name: joint9, parent: 2:joint8
6 name: left_knee_joint, parent: 3:left_hip_joint
7 name: right_knee_joint, parent: 4:right_hip_joint
8 name: joint10, parent: 5:joint9
9 name: left_ankle_joint, parent: 6:left_knee_joint
10 name: right_ankle_joint, parent: 7:right_knee_joint
11 name: joint11, parent: 8:joint10
12 name: left_ball_joint, parent: 9:left_ankle_joint
13 name: right_ball_joint, parent: 10:right_ankle_joint
14 name: joint12, parent: 11:joint11
15 name: left_clavicle_joint, parent: 11:joint11
16 name: right_clavicle_joint, parent: 11:joint11
17 name: left_toe_joint, parent: 12:left_ball_joint
18 name: right_toe_joint, parent: 13:right_ball_joint
19 name: joint13, parent: 14:joint12
20 name: left_shoulder_joint, parent: 15:left_clavicle_joint
21 name: right_shoulder_joint, parent: 16:right_clavicle_joint
22 name: joint14, parent: 19:joint13
23 name: left_elbow_joint, parent: 20:left_shoulder_joint
24 name: right_elbow_joint, parent: 21:right_shoulder_joint
25 name: joint15, parent: 22:joint14
26 name: left_wrist_joint, parent: 23:left_elbow_joint
27 name: right_wrist_joint, parent: 24:right_elbow_joint
28 name: joint16, parent: 25:joint15
29 name: left_thumb_joint, parent: 26:left_wrist_joint
30 name: left_wrist1_joint, parent: 26:left_wrist_joint
31 name: right_thumb_joint, parent: 27:right_wrist_joint
32 name: right_wrist1_joint, parent: 27:right_wrist_joint
33 name: left_thumb1_joint, parent: 29:left_thumb_joint
34 name: left_index_joint, parent: 30:left_wrist1_joint
35 name: left_little_joint, parent: 30:left_wrist1_joint
36 name: left_middle_joint, parent: 30:left_wrist1_joint
37 name: left_ring_joint, parent: 30:left_wrist1_joint
38 name: right_thumb1_joint, parent: 31:right_thumb_joint
39 name: right_index_joint, parent: 32:right_wrist1_joint
40 name: right_little_joint, parent: 32:right_wrist1_joint
41 name: right_middle_joint, parent: 32:right_wrist1_joint
42 name: right_ring_joint, parent: 32:right_wrist1_joint
43 name: left_thumb2_joint, parent: 33:left_thumb1_joint
44 name: left_index1_joint, parent: 34:left_index_joint
45 name: left_little1_joint, parent: 35:left_little_joint
46 name: left_middle1_joint, parent: 36:left_middle_joint
47 name: left_ring1_joint, parent: 37:left_ring_joint
48 name: right_thumb2_joint, parent: 38:right_thumb1_joint
49 name: right_index1_joint, parent: 39:right_index_joint
50 name: right_little1_joint, parent: 40:right_little_joint
51 name: right_middle1_joint, parent: 41:right_middle_joint
52 name: right_ring1_joint, parent: 42:right_ring_joint
53 name: left_index2_joint, parent: 44:left_index1_joint
54 name: left_little2_joint, parent: 45:left_little1_joint
55 name: left_middle2_joint, parent: 46:left_middle1_joint
56 name: left_ring2_joint, parent: 47:left_ring1_joint
57 name: right_index2_joint, parent: 49:right_index1_joint
58 name: right_little2_joint, parent: 50:right_little1_joint
59 name: right_middle2_joint, parent: 51:right_middle1_joint
60 name: right_ring2_joint, parent: 52:right_ring1_joint
61 name: left_index3_joint, parent: 53:left_index2_joint
62 name: left_little3_joint, parent: 54:left_little2_joint
63 name: left_middle3_joint, parent: 55:left_middle2_joint
64 name: left_ring3_joint, parent: 56:left_ring2_joint
65 name: right_index3_joint, parent: 57:right_index2_joint
66 name: right_little3_joint, parent: 58:right_little2_joint
67 name: right_middle3_joint, parent: 59:right_middle2_joint
68 name: right_ring3_joint, parent: 60:right_ring2_joint
-- --
Skeleton created out of jME OGRE skeleton, 69 joints
Created skeleton animation clip: leg_test
Loaded ogre file: body_new/top.mesh.xml, scale: 1, rotation: Quaternion [X=-6.123234E-17, Y=6.123234E-17, Z=1.0, W=3.7493998E-33]
1 sub objects, 1 skin animation(s), 0 pose animation(s)
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
Apr 15, 2011 10:38:10 PM com.jmex.model.ogrexml.anim.SkeletonLoader loadSkeleton
WARNING: Rotation axis not normalized
-- total 69 joint(s) --
0 name: joint6, parent:
1 name: joint7, parent: 0:joint6
2 name: joint8, parent: 1:joint7
3 name: left_hip_joint, parent: 1:joint7
4 name: right_hip_joint, parent: 1:joint7
5 name: joint9, parent: 2:joint8
6 name: left_knee_joint, parent: 3:left_hip_joint
7 name: right_knee_joint, parent: 4:right_hip_joint
8 name: joint10, parent: 5:joint9
9 name: left_ankle_joint, parent: 6:left_knee_joint
10 name: right_ankle_joint, parent: 7:right_knee_joint
11 name: joint11, parent: 8:joint10
12 name: left_ball_joint, parent: 9:left_ankle_joint
13 name: right_ball_joint, parent: 10:right_ankle_joint
14 name: joint12, parent: 11:joint11
15 name: left_clavicle_joint, parent: 11:joint11
16 name: right_clavicle_joint, parent: 11:joint11
17 name: left_toe_joint, parent: 12:left_ball_joint
18 name: right_toe_joint, parent: 13:right_ball_joint
19 name: joint13, parent: 14:joint12
20 name: left_shoulder_joint, parent: 15:left_clavicle_joint
21 name: right_shoulder_joint, parent: 16:right_clavicle_joint
22 name: joint14, parent: 19:joint13
23 name: left_elbow_joint, parent: 20:left_shoulder_joint
24 name: right_elbow_joint, parent: 21:right_shoulder_joint
25 name: joint15, parent: 22:joint14
26 name: left_wrist_joint, parent: 23:left_elbow_joint
27 name: right_wrist_joint, parent: 24:right_elbow_joint
28 name: joint16, parent: 25:joint15
29 name: left_thumb_joint, parent: 26:left_wrist_joint
30 name: left_wrist1_joint, parent: 26:left_wrist_joint
31 name: right_thumb_joint, parent: 27:right_wrist_joint
32 name: right_wrist1_joint, parent: 27:right_wrist_joint
33 name: left_thumb1_joint, parent: 29:left_thumb_joint
34 name: left_index_joint, parent: 30:left_wrist1_joint
35 name: left_little_joint, parent: 30:left_wrist1_joint
36 name: left_middle_joint, parent: 30:left_wrist1_joint
37 name: left_ring_joint, parent: 30:left_wrist1_joint
38 name: right_thumb1_joint, parent: 31:right_thumb_joint
39 name: right_index_joint, parent: 32:right_wrist1_joint
40 name: right_little_joint, parent: 32:right_wrist1_joint
41 name: right_middle_joint, parent: 32:right_wrist1_joint
42 name: right_ring_joint, parent: 32:right_wrist1_joint
43 name: left_thumb2_joint, parent: 33:left_thumb1_joint
44 name: left_index1_joint, parent: 34:left_index_joint
45 name: left_little1_joint, parent: 35:left_little_joint
46 name: left_middle1_joint, parent: 36:left_middle_joint
47 name: left_ring1_joint, parent: 37:left_ring_joint
48 name: right_thumb2_joint, parent: 38:right_thumb1_joint
49 name: right_index1_joint, parent: 39:right_index_joint
50 name: right_little1_joint, parent: 40:right_little_joint
51 name: right_middle1_joint, parent: 41:right_middle_joint
52 name: right_ring1_joint, parent: 42:right_ring_joint
53 name: left_index2_joint, parent: 44:left_index1_joint
54 name: left_little2_joint, parent: 45:left_little1_joint
55 name: left_middle2_joint, parent: 46:left_middle1_joint
56 name: left_ring2_joint, parent: 47:left_ring1_joint
57 name: right_index2_joint, parent: 49:right_index1_joint
58 name: right_little2_joint, parent: 50:right_little1_joint
59 name: right_middle2_joint, parent: 51:right_middle1_joint
60 name: right_ring2_joint, parent: 52:right_ring1_joint
61 name: left_index3_joint, parent: 53:left_index2_joint
62 name: left_little3_joint, parent: 54:left_little2_joint
63 name: left_middle3_joint, parent: 55:left_middle2_joint
64 name: left_ring3_joint, parent: 56:left_ring2_joint
65 name: right_index3_joint, parent: 57:right_index2_joint
66 name: right_little3_joint, parent: 58:right_little2_joint
67 name: right_middle3_joint, parent: 59:right_middle2_joint
68 name: right_ring3_joint, parent: 60:right_ring2_joint
-- --
Skeleton created out of jME OGRE skeleton, 69 joints
Created skeleton animation clip: leg_test
Loaded ogre file: body_new/shorts.mesh.xml, scale: 1, rotation: Quaternion [X=-6.123234E-17, Y=6.123234E-17, Z=1.0, W=3.7493998E-33]
1 sub objects, 1 skin animation(s), 0 pose animation(s)
Exception in thread "main" java.lang.IllegalArgumentException: Number of vertices differ!
at raft.jpct.bones.SkinData.checkAlmostEqual(SkinData.java:38)
at raft.jpct.bones.Animated3D.mergeSkin(Animated3D.java:475)
at raft.jpct.bones.AnimatedGroup.mergeSkin(AnimatedGroup.java:338)
at raft.jpct.bones.util.JMEOgreImporter.loadGroup(JMEOgreImporter.java:83)
at raft.jpct.bones.util.JMEOgreImporter.run(JMEOgreImporter.java:58)
at raft.jpct.bones.util.JMEOgreImporter.main(JMEOgreImporter.java:147)

59
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 15, 2011, 05:33:37 pm »
hi raft,
I've some new questions... ???
1) Is it possible to have multiple meshes for the same skeleton?  Something like, separate meshes for head, upper-body and lower-body built around the same skeleton?  If so, then I guess that all these meshes to be passed as -in parameters to the ogre2Bones converter script?

2) If the above one is feasible, then is it possible to link each of these meshes to different textures??

3) If the meshes to be changed on the fly, (i.e. from thin-upper-body to fat-upper-body) then I think I have to rebuild the entire ".bones" group programmatically. Is my understanding correct?  If so, then I think it will be performance issue.  Is there a performance friendly way to get over with that?

60
Bones / Re: Bones - Skeletal and Pose animations for jPCT
« on: April 15, 2011, 12:51:41 pm »
hi raft,
I went through the mesh.xml files to check for the polygons.  I think that the polygons are listed under <faces>.  Am I right?
If so, getting the right polygon id will be a big guess work   ???.

Then went through the karga thread and even registered myself in aptalkarga.com  :).  It is great  8)  Unfortunately, when I logged in there wasn't anyone except the beauty-bot Alice and I couldn't even kiss her due to lack of money  ;D.  I will log-in again after some time, anyway.  Great work! Keep it up!!

I am thinking about your suggestion of the creating the textures on the fly.  I couldn't figure out how to do it, at least till now  :-[.  I couldn't find any sample code in the karga thread as well.  :(  Any hints??

Pages: 1 2 3 [4] 5