Advertisement

One big pic

Started by September 15, 2000 05:05 AM
0 comments, last by DarkMage139 24 years, 3 months ago
Just wondering... What''s the advantage of using a big image instead of tiles (like in Baldur''s Gate)? Wouldn''t that be too big for video memory? - DarkMage139 ++++++++++++++++ "Shut up and give me the freakin code" -unknown "Ask and you will be shot" -snes16bit "Not again!" -SHilbert (upon being assimilated) "Nazrix is cool." - Nazrix "You've only seen the beginning" -The Dark Lord of RPGs "I'm gonna go get high on Squaresoft games" - ILoveNataliePortman
- DarkMage139
It''s a question of compression, amongst other things.
If you have 32 tiles of 64 pixels (not bytes), putting them all in one big tiles pictures allow you better compression. During the game of course, you don''t compress though, and that''s where the second advantage occurs, you have everything at the same location in memory, which is a Good Thing (tm). You don''t have to go all over the place to look for one tile, then for another, etc ... I''ll let the specialists give you the details of how many milliseconds that make you spare, and how many clusters, but that''s the idea.
-----------------------------Sancte Isidore ora pro nobis !

This topic is closed to new replies.

Advertisement