I stopped models precaching in GMod - and you can get up to a second loading delay when spawning a model - especially ragdolls.
So I think it's safe to assume it loads the whole thing, model, physics, materials, textures. garry On Wed, Sep 14, 2011 at 2:57 PM, Jed <j...@wunderboy.org> wrote: > I've been wondering about model pre-caching lately and what exactly it > achieves. > > I'm noticing that the potential number of player models for our mod is > growing exponentially and along with that there are various play model > attachments which are needed. I could just put them all into an array > and pre-cache them in one go but I keep wondering if that in fact > could have a negative effect? > > "aching" to me implies that the model is loaded into memory and held > there for quick access but in our case while there are say maybe 32 > separate models, only 6 would say ever be used at one time in a single > map. So my thought is that while the caching will stop stutters > waiting for the model to load, will it in fact use more memory as not > all the cached models are being used. > > So does model pre-caching actually store the whole model in RAM or > does is simply let the system know that this model might be needed and > do some sort of preparation for it? > > - Jed > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders