home *** CD-ROM | disk | FTP | other *** search
- Hi,
-
- Anthony had some question about the structure of BM. Here is what
- Doug said about the possible memory problems regarding textures.
- I don't remember the orignal question.
-
- -------------------------------------------------------------------
- > Will all textures fitt into memory at once? I think Anthony had some
- > questions about this.
-
- No, but they won't have to. This is why we will use a texture cache. It's
- simpler & probably faster than virtual memory, but needs a bit of fancy
- programming to do right. When it wants a new texture, it looks in the
- cache. If it's not there, it loads it over the previously least used
- texture(s) and it will very probably be there for next time round.
-
- It's a really simple idea, and easier to work with than VM. VM can also be
- tricky when you have Alternative ram, as it is registered under the same
- type as FastRam. You would need to hardcode it into BM instead of putting
- it through the system as a general capability, in order to avoid clashing.
-
- --------------------------------------------------------------------
-
- //Magnus Kollberg
-
-
-