Advice Needed


Tolchok
10-29-2003, 04:00 PM
I'm trying to compile a simple model using studiomdl.exe, but get the following error:

C:\models\oak>studiomdl oak
entering oak.qc
grabbing \models\oak\/sequence.smd
BMP oak1.bmp [-19999996 -19999997] (1473677%) 965789708 bytes
9999999 -9999999 9999999 -9999999

************ ERROR ************
texture too large


I have no idea what I've done wrong - any one know what's going on?

10-29-2003, 04:32 PM
Um.

Maybe the texture is too large? lol.

Tolchok
10-29-2003, 04:44 PM
The texture is 256 X 256 X 256.

10-29-2003, 05:18 PM
Something seems to be wrong with the picture or the compiler. It says you have a 965 meg bitmap.

Try using any other texture and compile. See if you get the same error. If you do, then it's a problem with studiomdl.

Tolchok
10-29-2003, 05:34 PM
I've tried a number of different things, including replacing the texture named in the error msg with another (from a previosly compiled model) and I get the same error msg with the new texture.

Tolchok
10-29-2003, 06:05 PM
Ok - here's a bit more info: I just used milkshape itself to compile the model, and it worked fine. However, I'm using masked textures so I have to use studiomdl to compile the finished model. The three textures used are all 256 X 256 X 8bit, with the 255Blue used at index 255, so it can't be a problem with the textures themselves.

10-29-2003, 08:02 PM
You can quickly add transparency flags to your models using Trp. Jed's version of HLMV.

Tolchok
10-29-2003, 08:45 PM
Thanks, Jamil - I'll have a look at it.

Devin Kryss
10-30-2003, 07:24 PM
Texture resolutions arent neccesarily restricted to 512 pixels. It works like this. Take the resolution of you bmp, say its 512 x 512, and add the 2 numbers. You get 1024. Thats the max size your texture can be. If its 512 x 600, thats too big, but you can have a texture thats 768 x 256. So maby thats what your error is all about.

And maybe its too big file size wise.

Editor321
10-30-2003, 08:29 PM
holy ****, devin is still around...

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.