Asher Posted 11 hours ago Share Posted 11 hours ago Anybody played Minecraft? If you have you may know how it loads and unloads chunks. Would it be possible to do the same for 0 A.D., load and unload tiles and resources to help save on ram. Also if it would only render the textures of units/resources that are currently being viewed from the camera or in the render distance. I am not super familiar with this coding stuff, so I probably wouldn't really be able to do it, soon Link to comment Share on other sites More sharing options...
Stan` Posted 11 hours ago Share Posted 11 hours ago 23 minutes ago, Asher said: Would it be possible to do the same for 0 A.D., load and unload tiles and resources to help save on ram. Also if it would only render the textures of units/resources that are currently being viewed from the camera or in the render distance. I am not super familiar with this coding stuff, so I probably wouldn't really be able to do it, soon What you mention is called culling, you can see what's being culled through the dev menu, by locking the camera frustrum. The problem is that at low angles, it's almost impossible to cull stuff, because you see an infinite distance forward. Other than that it's already implemented. 1 Link to comment Share on other sites More sharing options...
Asher Posted 10 hours ago Author Share Posted 10 hours ago (edited) 16 minutes ago, Stan` said: What you mention is called culling, you can see what's being culled through the dev menu, by locking the camera frustrum. The problem is that at low angles, it's almost impossible to cull stuff, because you see an infinite distance forward. Other than that it's already implemented. How do you open the dev menu? If you are not doing revealed map, does it render enemy's units/structures that you can't see/haven't seen? Edited 10 hours ago by Asher Link to comment Share on other sites More sharing options...
Asher Posted 10 hours ago Author Share Posted 10 hours ago (edited) I found how to open the dev menu Edited 10 hours ago by Asher Link to comment Share on other sites More sharing options...
AlexHerbert Posted 1 hour ago Share Posted 1 hour ago Yes, I also think cache friendly elements is a good idea. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now