Main Menu
Menu

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.

Show posts Menu

Messages - great_apple_day

#1
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
Here it is sir. Hope it helps.

Best regards,

[attachment deleted by admin]
#3
Support / Re: Using ModelView Matrix
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
July 25, 2012, 07:53:17 PM
Thanks. Unfortunately there are too many models so I have to load them on the fly.
#5
Thanks for the suggestion  8)
#6
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?
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
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
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
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,