jPCT-AE - a 3d engine for Android > Support

Loading MD2 - ArrayIndexOutOfBoundsException

(1/1)

great_apple_day:
Hey guys,

I'm loading an MD2 file without any sort of animation
but I got "ArrayIndexOutOfBoundsException" while
jPCT is trying to convert the MD2 format to jPCT format.
What could be the problem?

I'm able to open the file in any modeling software easily and
I have tested jPCT with another MD2 and it worked like a charm.
What could be the problem with this particular file?

The MD2 is attached

Thanks in advance.


[attachment deleted by admin]

EgonOlsen:
Could you please post the complete stack trace?

great_apple_day:
Here it is sir. Hope it helps.

Best regards,

[attachment deleted by admin]

great_apple_day:
Dear EgonOlsen,

Never mind. I think there is a problem with the MD2 file.
I just converted my model to another format and then back
to MD2 again and now it is working flawlessly.

Sorry to bother

Best regards,

EgonOlsen:
Seems like it. I never saw a MD2-loading go wrong...

Navigation

[0] Message Index

Go to full version