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

Pages: [1]
1
Support / Re: Loading MD2 - ArrayIndexOutOfBoundsException
« on: July 27, 2012, 12:47:35 am »
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,

2
Support / Re: Loading MD2 - ArrayIndexOutOfBoundsException
« on: July 26, 2012, 09:34:21 am »
Here it is sir. Hope it helps.

Best regards,

[attachment deleted by admin]

3
Support / Re: Using ModelView Matrix
« on: July 25, 2012, 07:55:00 pm »
Thanks for your answer. I converted the coordinate system before
using it in jPCT and now it works correctly.  ;)

4
Support / Re: Dynamic object loading
« on: July 25, 2012, 07:53:17 pm »
Thanks. Unfortunately there are too many models so I have to load them on the fly.

5
Support / Re: Progress bar when loading an MD2 file?
« on: July 25, 2012, 07:52:16 pm »
Thanks for the suggestion  8)

6
Support / Loading MD2 - ArrayIndexOutOfBoundsException
« on: July 25, 2012, 07:49:58 pm »
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]

7
Support / Progress bar when loading an MD2 file?
« on: July 10, 2012, 12:47:23 pm »
Dear guys,

Is there anyway to extract the loading progress when the Loader is loading an MD2 model?

Thanks in advance.

8
Support / Dynamic object loading
« on: May 05, 2012, 11:28:28 am »
Hey guys,

I've got a couple of MD2 files with simple animation. All I want to do is to load the models based on the
AR marker. For instance if the AR tracks an apple picture I want to load the "Apple.md2" and if it changes
to banana picture the model needs to be changed to "Banana.md2".

AFAIK loading all the model at the beginning seems impractical. What is the best approach to load models 
dynamically at runtime?

Should I load all of them at once and try changing the visibility on the fly?

Thanks in advance
Best,

9
Support / Re: Using ModelView Matrix
« on: May 02, 2012, 10:22:15 am »
Yes I had tried that earlier. But it doesn't work. The model still doesn't show up.

10
Support / Using ModelView Matrix
« on: May 02, 2012, 12:06:58 am »
Hey guys,

I applied the AR ModelView matrix to camera (directly, without any manipulation) by using these codes:

mMatrix.setDump(mModelviewArray);
cam.setBack(mMatrix);

AR toolkit uses Right-Handed coordinate system but magically these lines of codes work and my model
shows up on the target and move accordingly. But the problem is the model is upside down and it lays
on its side. I tried to rotate the camera 90 degree (also -90) around the X axis (also Y,Z) but by doing
that the model disappears.

What could be the problem?

If I rotate the model itself it works fine but I think that is a little ugly.

Thanks in advance
Best,   

Pages: [1]