Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Bones / Re: Making a 3d model move by code(user input).
« Last post by Rhnbmpl on November 17, 2017, 05:56:38 am »
Sorry, I don't exactly remember the error message, Its said something like "No Animations found". After which I added dummy animation and then got the message which I posted about no skins.
Can you tell me from which software(Blender,3ds max,etc.) you made the model and its skeleton and how you imported it to jpct and bones. I am open to new ways to do this.
22
Support / Re: OpenGLES 3.0+
« Last post by EgonOlsen on November 16, 2017, 04:37:23 pm »
No, not at all.
23
Support / Re: OpenGLES 3.0+
« Last post by AeroShark333 on November 16, 2017, 03:47:43 pm »
I suppose using GLSurfaceView.setEGLContextClientVersion(3); ?

But would it make any difference using jPCT-AE?
24
Support / Re: OpenGLES 3.0+
« Last post by EgonOlsen on November 14, 2017, 06:27:49 pm »
You should be able to use the GL 2.0 renderer in a 3.0 context. After all, you create the context, not jPCT-AE. Then again, I'm not sure what it would be worth to do that.
25
Support / OpenGLES 3.0+
« Last post by AeroShark333 on November 14, 2017, 05:30:46 pm »
Hello,

I have some questions regarding the OpenGLES version that jPCT supports or can support.
-> Will OpenGLES 3.0 be supported any time soon by jPCT-AE?
-> Will OpenGLES 3.1 be supported any time soon by jPCT-AE?
-> Will OpenGLES 3.2 be supported any time soon by jPCT-AE?
-> Since OpenGLES 3.0 is backwards compatible, wouldn't it be possible to render applications that now use OpenGLES2.0 using OpenGLES3.0 with some performance increase without changing too much to the jPCT-AE libary?

Cheers,
AeroShark333
26
Bones / Re: Making a 3d model move by code(user input).
« Last post by raft on November 14, 2017, 04:13:21 pm »
Earlier I was getting the error for the no animations found. But now, I have put animation in the model in Blender and exported it to collada and getting the error that I had posted above. I have even added textures in my model in Blender and am getting the same error.
can you post the previous exception? in Bones code no such exception should be thrown, possibly coming from Ardor's Collada loader.

but in any case, your current exception means no skinning information is found in Collada file, practically means no animation. (actually not sure if exporting only the animation but not the skinning information is possible in Blender, doesnt make any sense though)

And one more thing. I have seen the steps in the bones website to export the model to ogre and then to bones and I have questions about this step:
actually I've never used Blender myself, Wiki pages are created and maintained by the community members :)
27
Bones / Re: Making a 3d model move by code(user input).
« Last post by Rhnbmpl on November 14, 2017, 01:46:53 pm »
And one more thing. I have seen the steps in the bones website to export the model to ogre and then to bones and I have questions about this step:

Quote
2. Set the rotation and scale of your model as you want it, and then apply (Ctrl+A_key, Select Rotation and Scale). # If your model doesn't have it, create a Root Bone: This is a bone that is parent to every other bone in your armature. You don't need to connect it to the rest though, and can leave the offset. It must have it's head in 0,0,0 and tail in x=0,y=0,z=1

1. Does the root bone have to have its head at 0,0,0 and tail at 0,0,1? (Because mine has tail at 0.179 in z axis)(I am not getting the .skeleton.xml file at export)
2. Can I have the root bone not connected to the rest of my bone structure(Just have it floating in the space)? (Because then I have to scale the model)
3. Do I have to set the root bone as the parent to all my bones even though they are not connected to root?

Thank you.
28
Bones / Re: Making a 3d model move by code(user input).
« Last post by Rhnbmpl on November 14, 2017, 11:09:11 am »
Earlier I was getting the error for the no animations found. But now, I have put animation in the model in Blender and exported it to collada and getting the error that I had posted above. I have even added textures in my model in Blender and am getting the same error.
29
Bones / Re: Making a 3d model move by code(user input).
« Last post by raft on November 13, 2017, 06:00:58 pm »
not sure about the warning.

the error says, there are no skins in collada file, meaning no animations and hence nothing to import.

once exported to Bones' format, you can use BonesIO class to load it. and that's also the class script files use behind the scenes.
30
Bones / Re: Making a 3d model move by code(user input).
« Last post by Rhnbmpl on November 13, 2017, 01:40:27 pm »
I am getting the following error while converting the collada file to bones:

Code: [Select]
abc@xyz:~/Desktop/Bones/scripts$ sudo ./ardorCollada2Bones.sh -in my_model.dae
Nov 13, 2017 5:02:46 PM com.ardor3d.extension.model.collada.jdom.ColladaAnimUtils buildAnimations
WARNING: No element-joint mapping found for element: <node id="Armature_1" name="Armature_1" type="NODE"></node>

Exception in thread "main" java.lang.IllegalArgumentException: ColladaStorage contains no skins.
at raft.jpct.bones.BonesImporter.importCollada(BonesImporter.java:52)
at raft.jpct.bones.util.ArdorColladaImporter.loadGroup(ArdorColladaImporter.java:117)
at raft.jpct.bones.util.ArdorColladaImporter.loadGroup(ArdorColladaImporter.java:89)
at raft.jpct.bones.util.ArdorColladaImporter.run(ArdorColladaImporter.java:70)
at raft.jpct.bones.util.ArdorColladaImporter.main(ArdorColladaImporter.java:176)
Do I have to worry about the warning?
Do I have to put skins on my blender model before exporting to .dae?
And also how to import the resulting .bones generated file into the code taken from ProceduralAnimationsample.java?

Thanks.
Pages: 1 2 [3] 4 5 ... 10