|
From: Keith W. <kw...@cs...> - 2004-06-18 20:42:38
|
I understand that by creating and submitting trimesh objects and textures that Quesa "talks to" VRAM and fills it up with necessary models and textures and lighting information and whatnot, so that when I tell it to render a frame it has what it needs to do the job. Imagine that I have a large terrain based world and as I wander around I load in part of the map that the user wanders into and purge parts the user wanders away from. How do I remove stuff from VRAM that I don't need anymore because the user has wandered far enough away from an object and its texture? Is VRAM automatically on some sort of LRU memory management scheme or do I have to intentionally clear space for new stuff? ________________________________________________________________________ Keith Wiley kw...@cs... http://www.unm.edu/~keithw http://www.mp3.com/KeithWiley "Yet mark his perfect self-contentment, and hence learn his lesson, that to be self-contented is to be vile and ignorant, and that to aspire is better than to be blindly and impotently happy." -- Edwin A. Abbott, Flatland ________________________________________________________________________ |