Rune Central

The Official Rune Quake Message Board
It is currently Thu Mar 28, 2024 7:38 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GL_Upload8: image too big
PostPosted: Mon Oct 11, 2004 7:43 pm 
Offline

Joined: Sat Jul 31, 2004 1:33 am
Posts: 17
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???


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Oct 16, 2004 6:55 am 
Offline
User avatar

Joined: Fri Oct 24, 2003 2:09 pm
Posts: 252
Location: Hungary
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?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group