wxywxy.ji Posted November 8, 2012 Posted November 8, 2012 there is stream loading in Engine. but where is remove resource in Unigine Engine? only -> void update(size_t &memory_usage,size_t limit,int reload) cached_nodes , check distance and remove , etc ? Occurs out of memory and vertex buffer
ulf.schroeter Posted November 13, 2012 Posted November 13, 2012 resource unloading is controlled by WorldManager and RenderManger engine classes. Textures, masks and meshes will be automatically unloaded when not accessed by rendering for more than a specific frame count. Have a look into source code, if I remember correctly there should be some update() method were the magic happens.
wxywxy.ji Posted November 15, 2012 Author Posted November 15, 2012 i know that rendermanager and WorldManager is deleting. when not Enough memory In addition who is delete cached_nodes and Nodes in class World is always exist Nodes in memory?
frustum Posted November 15, 2012 Posted November 15, 2012 You can reduce the system memory usage via mesh "compaction" option. This option removes mesh from the system memory and keeps it in the video memory only. You can't do any intersection or collision tests after that.
Recommended Posts