World Generation on seperate thread.
#2
Terrain can be generated by multiple jobs in seperate threads and it would be faster, I'm not sure how much faster it would be though, since multiple threads would be working on the same single chunk (which is pretty small anyway).

If you want to completely generate chunks independently from the gameplay thread you'll be facing quite some trouble. If I want to access a chunk I expect a result right away, but if you generate it on a seperate thread you more or less request to access the chunk and if it's not generated yet it'll say (right away) try again laterTongue This might cause quite some trouble, I'm not sure XD
Reply
Thanks given by:


Messages In This Thread
World Generation on seperate thread. - by rs2k - 10-27-2011, 04:54 AM
RE: Wordl Generation on seperate thread. - by FakeTruth - 10-27-2011, 05:50 AM



Users browsing this thread: 1 Guest(s)