wxywxy.ji Posted November 8, 2012 Share 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 Link to comment
ulf.schroeter Posted November 13, 2012 Share 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. Link to comment
wxywxy.ji Posted November 15, 2012 Author Share 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? Link to comment
ulf.schroeter Posted November 15, 2012 Share Posted November 15, 2012 is always exist Nodes in memory? Yes Link to comment
frustum Posted November 15, 2012 Share 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. Link to comment
Recommended Posts