there is a large land,many object in or on it.Player just see a 5inchX5inch square in this land.
I wonder:if i tran all the land item to opengl and let it draw,the opengl can auto avoid rendering the unseen items and only deals with the item in the 5inchX5inch square.Does it right???
I write some codes to do the job,find which items is in the 5X5 square and trans them to openGL and let OpenGL render them.but i didn’t get any profit.So i think,OpenGl can find the items in the 5X5 square to render and let the other unseen stuff pass by.
but,the land is so large and reading it into memory is a very waste.so the code to decide which items will be seen and read them.the code is necessary for the game as hl,myth…
maybe i am wrong,I put my ideas here and waiting you direct me with the word of “thanks” in mouth.
sorry,i from china and my english is not good as chinese.