Please explain Milkshape3D

Can you believe it, I’m so dumb, I thought it was called MilkShake3D. Anyway…

I got the Milkshape loader and with it came a model which worked perfectly when I imported it. Then I decided to be brave and make my own model. I appiled a texture which was all fine but when I imported it, there was no texture.

Why could that be?

I’m exporting to a *.txt file

The texture and the model were in the same directory.

Open the model txt file. Look for the entry for the texture and the path. If I remember correctly Milkshape saves it as relative.

Make sure where you are running the app is the same relative to the texture path.

I managed to figure it out. It only works for me if the texture width and height are divisible by the power of 2.
Like 256, 256; 128, 128

I think you might need to make the texture an Indexed image, but I’m not sure, I did it anyway. Photoshop has that ability.

You shouldn’t need to. In testing out various textures, I have used all sorts of image types in my lwjgl game.

Hi there,
I had the same problem trying it in JOGL.
I have no idea why, but when I created a new object from scratch, it resulted in the same as you.

BUT, when I took the one that DID work (the cross ms3d file), and from that session deleted the cross and added my own stuff, it did work. I’m guessing there is some configuration setting I do not know about or something.

Oh, and at first I just left the name the same, Model.ms3d, but when I did a change filename, it worked for me still too (changing what I’m pointing to in the code of course).

Try that and see if it works.