NEXWorld Game Update
2018-02-19 19:58:44 1 举报
NEXWorld Game Update
作者其他创作
大纲/内容
Unload chunks that is not used for long (~20 secs)
Compare timestamp:Is newer than the VBO built?
Move VBO Array to player positionDelete out-of-range VBOs
Finish update
Yes
Update objects(Multithreaded processing)
Submit VAs to VBOs
VBO Array 3D:Stores nearby chunk VBOs & update timestamp
Build VAs(Multithreaded processing)
Unload chunks according to player position
Client?
No
Add VA building task
Load chunks according to client requests(Multithreaded processing)
Load chunks according to player position(Multithreaded processing)
Chunk array
Task queue size == MaxChunksUpdates?
Rendering a frame
Update blocks & mark updated chunks(Multithreaded processing)
Iterate chunks from near to farfor each:
收藏
0 条评论
回复 删除
下一页