The management of dual threads in large scale city roaming based on OSG
Ximin Zhang, Wanggen Wan, Feng Guo, Xueli Zhou, Xiaoqing Yu · 2012
In this paper, we realize the roaming of large scale city scene based on OSG. For large scale city, we separate it to blocks and put the blocks to the server, in order to realize rendering in client, we need to transmit the needed block to client and then render them. But the loading from server to client is a time-consuming course. General ways can't guarantee fluent roaming, here we adopt dual threads to fulfill this attitude, one thread is responsible for data transmission through net, and the other is responsible for the block's rendering. Through the coordinating work of the two threads, we realize the fluent rendering of the large city scene.