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 - JKumar

Pages: 1 [2] 3
16
Support / Can't deserialize object
« on: October 07, 2010, 04:53:00 pm »
Hi,

        I am having a md2 file with 1.67MB and after serializing, it comes to be 9.78 MB.


It gets serialized with some error at the last  and when i am trying to deserialize in jPCT-AE it says

 "Can't deserialize object"

see the log

[7:25:04 PM] JKumar: Number of GL-commands: 15731
Number of Frames: 440
Reading Texture coordinates...
Done!
Reading polygonal data...
Done!
Reading keyframes...
Done!
Coverting MD2-format into jPCT-format...
Processing: walk...
Processing: jump...
Processing: shieldblockdo...
Processing: blockonhead...
Processing: swingattackch...
Processing: swingattackhe...
Processing: jumpattack...
Processing: swingattackch...
Processing: swingattackwa...
Processing: stabwa...
Processing: blockchest...
Processing: deadbackward...
Processing: roll...
Processing: rollblock...
Processing: rollattack...
Processing: kick...
Processing: punch...
Processing: breath...
Processing: standturnlr...
Processing: walkbendr...
[ Thu Oct 07 19:24:49 IST 2010 ] - ERROR: Too many sub-sequences defined. Modify configuration to allow a higher number.
Processing: fencingwalk...
[ Thu Oct 07 19:24:49 IST 2010 ] - ERROR: Too many sub-sequences defined. Modify configuration to allow a higher number.
Processing: absorbingattac...
[ Thu Oct 07 19:24:49 IST 2010 ] - ERROR: Too many sub-sequences defined. Modify configuration to allow a higher number.
Done!


Is there issue with md2 file as its running fine in  "md2Viewer 1.4".

Any guess

17
Hi,

YES, the character walking in place.

OK. Thanx......syncing correctly is  a tedious work  :(

18
Hi,

              I am having a md2 file with different animation sequence. I am able to run all of them as they are in the model.

  For simulating the walk animation in 3D World in jPCT, i need to translate the model.The problem i am facing is that the walk simulation is not coming correctly, as lag between animation and translation.

And my question is that -

is there any way where the animation object can return simple vector and it can be passed to translate method ?

Or any other way of achieving the lag between animation and translation?

19
Support / Re: Model getting rotated while translating
« on: October 06, 2010, 02:22:59 pm »
Hi,

   The problem is fixed now.

Thanks


20
Support / Re: Model getting rotated while translating
« on: October 06, 2010, 12:03:59 pm »
Hi,

       Thanx for the reply.

      I don't know how the translate method is functioning but as per my new code the translate method is adding the coordinate value(x,y,z) to the last position of the model/object.

     Its working fine now but i supposed it to perform the translate by positioning the model to the supplied coordinate value.

I don't know if its because of onKeyDown as translated the model directly in the draw method.

But its a great pleasure to use jPCT for my project.

21
Support / Re: Model getting rotated while translating
« on: October 06, 2010, 09:48:04 am »
hi.........anyone plz help it out.

22
Support / Model getting rotated while translating
« on: October 04, 2010, 08:35:02 am »
Hi,

        My models are getting rotated when i am trying to translate it.

I am attaching my file......Plz help it out.

[attachment deleted by admin]

23
Support / Re: Facing problem on onResume
« on: October 01, 2010, 01:09:10 pm »
HI,

       I solved the onResume issue and its working fine for me.

I guess its a major issue and developers should ensure this at the beginning itself using sample or test applications.

24
Support / Facing problem on onResume
« on: September 28, 2010, 03:11:02 pm »
HI,

       I am using my app in landscape mode and when it is resuming, the app is displaying the black screen only.

I am testing on HTC Tattoo.

25
Support / Re: Load 3DS with texture
« on: September 28, 2010, 09:46:19 am »
Hi,

          Its an image file which u might have as an additional with the 3ds.You can put the file in any of the resource folders and can access the same using the above code.


26
Support / Re: Load 3DS with texture
« on: September 27, 2010, 11:59:36 am »
HI,

        Follow the steps below.

TextureManager.getInstance().addTexture("<Name of texture>", new Texture(getResources().openRawResource(R.raw.mytexture)));


model.setTexture("<Name of texture>);
         

27
Support / How to add multiple lights in Android Engine
« on: September 22, 2010, 09:16:23 am »
Hi,

       I want  to add multiple lights in android engine but not sure how to proceed.



Plz help me out.

28
Support / Re: Not able load md2 file with size 358 KB
« on: September 16, 2010, 02:05:01 pm »
Hi,

        All is going well and the credit goes to you.....I am able to render and use all the animations of the md2 file as guided.I have another request in queue and that is

How to use the collision detection in jPCT?

any reference would lead me in the next step of development



29
Support / Re: Not able load md2 file with size 358 KB
« on: September 15, 2010, 04:22:45 pm »
Hi,

     Another thing, As i have five animation in the model. I am not sure how to use animation methods:

1. model.animate(float)
2. model.animate(float, int)

Will they draw the frames or the animation sequences and how to utilize them.

30
Support / Re: Not able load md2 file with size 358 KB
« on: September 15, 2010, 04:16:35 pm »
THANX....Its working fine now.

Pages: 1 [2] 3