Hi!,
I’ve tried to make a SDL_Surface of 20000x18000 and SDL don’t want to make
it,
(well, maybe I am mad to make so big screen but why not ?)
What are the max size you use ?
Murlock
Hi!,
I’ve tried to make a SDL_Surface of 20000x18000 and SDL don’t want to make
it,
(well, maybe I am mad to make so big screen but why not ?)
What are the max size you use ?
Murlock
um, that’s like 343 megs just for 8 bit…
At 02:54 PM 5/16/2001 -0700, you wrote:>Hi!,
I’ve tried to make a SDL_Surface of 20000x18000 and SDL don’t want to make
it,
(well, maybe I am mad to make so big screen but why not ?)What are the max size you use ?
Murlock
hmm let’s see
20,000 x 18,000 x 8bits =2880000000 bits or 360,000,000 bytes or about 344
MB
multiply that by 4 to get the memory needed for a RGBA surface
1.3GB of memory is needed to make that surface.> ----- Original Message -----
From: owner-sdl@lokigames.com [mailto:owner-sdl at lokigames.com]On Behalf
Of Murlock
Sent: May 16, 2001 2:55 PM
To: sdl at lokigames.com
Subject: [SDL] a stupid question ?Hi!,
I’ve tried to make a SDL_Surface of 20000x18000 and SDL don’t want to make
it,
(well, maybe I am mad to make so big screen but why not ?)What are the max size you use ?
Murlock
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
“Kisai” <kisai_z at yahoo.com> schrieb im Newsbeitrag
news:BAEJIFGAFGNHHPKILLHMMEEICAAA.kisai_z at yahoo.com…
hmm let’s see
20,000 x 18,000 x 8bits =2880000000 bits or 360,000,000 bytes or about 344
MBmultiply that by 4 to get the memory needed for a RGBA surface
1.3GB of memory is needed to make that surface.Of Murlock
Hi!,
I’ve tried to make a SDL_Surface of 20000x18000 and SDL don’t want to make
it,
(well, maybe I am mad to make so big screen but why not ?)What are the max size you use ?
Murlock
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Cant we just use RLE to bring to the megs… ???
Greets
Pez> -----Original Message-----
From: owner-sdl at lokigames.com [mailto:owner-sdl at lokigames.com]On Behalf
Sent: May 16, 2001 2:55 PM
To: sdl at lokigames.com
Subject: [SDL] a stupid question ?
I’ve tried to make a SDL_Surface of 20000x18000 and SDL don’t want to make
it,
SDL imposes no limit on the size of surfaces (except that some members
are 16-bit so keep the pitch under 32768 bytes). Of course, you need
enough memory. And a psychiatrist
“Mattias Engdeg?rd” schrieb im Newsbeitrag
news:200105170930.LAA19390 at my.nada.kth.se…
I’ve tried to make a SDL_Surface of 20000x18000 and SDL don’t want to
makeit,
SDL imposes no limit on the size of surfaces (except that some members
are 16-bit so keep the pitch under 32768 bytes). Of course, you need
enough memory. And a psychiatrist
big surfaces are imho integrated into "Desperados - Wanted Dead or Alive"
and they seem to serve a great job… but although i think they are some
kind of tiled so only the needed screen resolution(+?? pixel[for scrolling])
is always in memory
I think the time of complex tile engines is over … and we will see more of
the very detailed and different “new” engines
Greetings to all…
PeZ