On Thu, Aug 9, 2012 at 10:06 AM, Renk Thorsten wrote: > Both options, random buildings and a realistic view range, are in my view > extremely cool as long as you know what you are doing with them, and I don't > really want to abandon either. But I suspect their combination (combined with > other memory-hungry goodies) is not something we want to confront the casual > user with. > > Do we have any ideas addressing these issues?
Random buildings are switched off by default, but as you suggest, a warning in the GUI would be appropriate. I will do this. Unfortunately, the buildings are generated when the tiles are loaded, and it is this that causes the memory occupancy problems rather than visibility itself (subject to big view ranges causing the loading of more tiles). Aggressively limiting the maximum available visibility range might help, if it's causing more tiles to be loaded, but it is very dependent on the amount of Urban and Town terrain. For performance reasons, all the buildings within a tile are a single object. The memory capacity could be addressed by changing the implementation to something closer to the trees, where a (relatively) small number of buildings are instantiated at different locations. I don't know what this would do for performance though. I believe James and Matthias also had a plan to use some OpenGL/Shader technque to pass location information for instantiation, but I don't know the details. > And other ideas? Or is this not an issue for the majority? I think it's a major issue, and one that I did not consider sufficiently in development. Sorry. -Stuart ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel