Rune Central
http://runequake.com/forums/

GL_Upload8: image too big
http://runequake.com/forums/viewtopic.php?f=9&t=532
Page 1 of 1

Author:  Tribal [ Mon Oct 11, 2004 7:43 pm ]
Post subject:  GL_Upload8: image too big

I was trying to load a hexen2 model into quake but i aways got the message:
"GL_Upload8: image too big"!!!

then i search in the engine files about it and changed some things:

void GL_Upload8 (byte *data, int width, int height, int mode)
{
// static unsigned trans[640*480];
static unsigned trans[800*600]; (this)
(...)

(and this)

// if (size * 4 > sizeof(trans))
// Sys_Error ("GL_Upload8: image too big");

now the model loads perfectly :)
what have i done? this things loads the texture from the models?
will be any problems to the game because i made this changes???

Author:  Jozsef [ Sat Oct 16, 2004 6:55 am ]
Post subject: 

well, I searched through the original hexen2 models and didn't found any bigger skins than 640x480 and also the hexen2 engine supports a maximum of 640x480 size skins, so it _should_ cause an error in hexen2 either. Could you send this model?

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/