P0-P-172: Part 102: Object Generator
I am making some progress with the object generator. I can instantiate objects on the terrain now, but they are not randomised, they are placed at the center of the terrain chunk. This means that their density increases as the player gets closer to the terrain surface.
I am still having some problems loading and unloading the objects, but this is mostly working. I have also made the new objects compatible with the floating origin system.
The problem now is the performance, this system is far too slow, even if I added multi-threading to it, which I probably will do.
The other issue is the density and placement of the objects. With very dense forests or object fields, this system could work, since the higher density objects close to the player would obscure the lower density objects further away. But this wouldn’t work with sparse forests or objects, and, the objects are being created per chunk, which means the positions of the objects will change every time the lod changes.
I may have to create my own quadtree style system which will operate in conjunction with the terrain’s system, and be used to store only scene objects.

31/01/2017 , 02:51:04 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

31/01/2017 , 02:50:43 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone

31/01/2017 , 02:50:25 AM
Unity Personal (64bit) – P0Main.unity – New Unity Project – PC, Mac & Linux Standalone
