[FIXED] Saving/Loading terrain bug
#14
Currently the biggest problem is that chunk generation asks too much about its neighbors. Each such query puts the (yet unloaded and ungenerated) chunk in the load queue, where the load thread picks it up just to find that it isn't available for loading, and places it into the generation queue. So the load thread is actually using more CPU than the generation thread, and it's wasting its time doing the unneeded work over and over again.
Reply
Thanks given by:


Messages In This Thread
[FIXED] Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 09:59 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 10:26 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 10:30 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 10:48 PM
RE: Saving/Loading terrain bug - by Boo - 02-16-2012, 11:05 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 11:24 PM
RE: Saving/Loading terrain bug - by Boo - 02-16-2012, 11:57 PM
RE: Saving/Loading terrain bug - by FakeTruth - 02-16-2012, 11:21 PM
RE: Saving/Loading terrain bug - by xoft - 02-16-2012, 11:49 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 01:23 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 01:34 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 01:54 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 02:04 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 02:57 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 04:05 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 05:24 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-17-2012, 06:53 AM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 07:12 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 09:46 PM
RE: Saving/Loading terrain bug - by Boo - 02-17-2012, 10:29 PM
RE: Saving/Loading terrain bug - by xoft - 02-17-2012, 11:15 PM
RE: Saving/Loading terrain bug - by xoft - 02-18-2012, 03:11 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-18-2012, 10:10 AM
RE: Saving/Loading terrain bug - by xoft - 02-19-2012, 12:09 AM
RE: Saving/Loading terrain bug - by ThuGie - 02-19-2012, 01:40 AM
RE: Saving/Loading terrain bug - by xoft - 02-19-2012, 04:07 AM



Users browsing this thread: 3 Guest(s)