trouble3524 Posted April 18, 2012 Posted April 18, 2012 Hi.Our project have a very very huge scene,and it's not simple terrian.our scene have a lot of meshes,textures. like cave.So,we can NOT load all meshs/textures by one time when the game is start,and we can NOT use ObjectTerrain to optimize rendering.So,we need load meshes/textures in background,and let the player can NOT feel the scene is loading.like GTA4/L.A.Noire/Mafia 2. they have a very very very huge city.So,how to make it?Thanks.
trouble3524 Posted April 18, 2012 Author Posted April 18, 2012 I try to inherited from Thread class to create a thread,the thread load meshes in background when game is running. But Unigine's world node list looks like is not Multi-thread safe mode. So,how to make it?Thanks~
ulf.schroeter Posted April 18, 2012 Posted April 18, 2012 Use NodeSector class for world partitioning and selective streaming
unclebob Posted May 3, 2012 Posted May 3, 2012 Hi, Please read this topic: https://developer.unigine.com/en/docs/1.0/code/scripting/library/nodes/class.nodesector As Ulf said, you can split your entire world into sectors and load them on demand when you needed to.
Recommended Posts