Original Post
im working on a 3d engine and im working on actually loading in a terrain. Now i have done it with OGL easy, but with DX, the texture system is creating a problem for me. What is the most efficient way to load in a terrain. Would it be to have a list of textures and associate the geometry based on what texture it has and the loop through them and create a VB for each texture, a global VB for everything? This also poses another issue. If i sort based on texture, what if a certain poly has multiple textures? I guess basically what im trying to figure out, is what would be the best method for loading in a bunch of geometry and be able to maintain multiple texturing. ps. when i say terrain, i mean any world environment, not necessarily a heightmap or something. I just need a world to interact with. THanks for the help