Jump to content

Hardware Optimizations


Asher
 Share

Recommended Posts

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

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.

Link to comment
Share on other sites

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 by Asher
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...