Sanctus Posted April 30, 2010 Share Posted April 30, 2010 Hey guys. I'm trying to make my own terrain system in leadwerks since the one available is not quite what I'm looking for. Since my terrain is quite case dependent I'd like to use basic meshes that are drawn using instancing. I create a patch and after this I copy the entity to every patch in the grid. What I'm not sure about is this: If I somehow modify one patch(verts) will all patches be modified? From what I know about instancing all the verts are in just one array using something like glDrawElementsInstanced. How should I approach the problem if I want to modify those patches? Quote I create the game you play. I create the rulles you will obey. Link to comment Share on other sites More sharing options...
DaDonik Posted April 30, 2010 Share Posted April 30, 2010 If there are only a few different modifications to the patches, you could use an array of reference meshes. Given that your terrain is quite huge, it will perform a lot faster than loading each mesh. I'm pretty sure you already thought of that, if it's possible in your case Quote (Win7 64bit) && (i7 3770K @ 3,5ghz) && (16gb DDR3 @ 1600mhz) && (Geforce660TI) Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.