How long are texture combinations stored in memory?
For example, let's say someone's character skin consists of a texture string which combines several colorized and uncolorized layers, with thousands of possibilities.
Is every result stored in memory indefinitely once it is rendered, or does it remain only as long as it is used, or is it not stored at all, meaning the engine calculates it every time it's drawn?
Also, is it only the client that stores this, or would the server have a copy, too?
How long are complex textures stored in memory?
- Piezo_
- Member
- Posts: 219
- Joined: Fri Jul 20, 2018 21:36
- GitHub: is proprietary I use NotABug
- Location: (x,y,z)
How long are complex textures stored in memory?
while (true) { suffer(); }
- Pyrollo
- Developer
- Posts: 385
- Joined: Mon Jan 08, 2018 15:14
- GitHub: pyrollo
- In-game: Naj
- Location: Paris
Re: How long are complex textures stored in memory?
That's an excellent question. It could be interesting to know for all the signs libs that potentially generates loads of textures.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]
- Piezo_
- Member
- Posts: 219
- Joined: Fri Jul 20, 2018 21:36
- GitHub: is proprietary I use NotABug
- Location: (x,y,z)
Re: How long are complex textures stored in memory?
Oh, crap. I was just thinking about character_creator and banners.Pyrollo wrote:That's an excellent question. It could be interesting to know for all the signs libs that potentially generates loads of textures.
Signs are a whole new level.
while (true) { suffer(); }
Re: How long are complex textures stored in memory?
Yes, I'm very interested in this question as well. As soon as I have time I'll try to find out from the engine source code.
On my server a few children are playing using a raspberry pi and texture memory is the main bottleneck.
On my server a few children are playing using a raspberry pi and texture memory is the main bottleneck.
- GreenXenith
- Member
- Posts: 1356
- Joined: Wed Oct 28, 2015 01:26
- GitHub: GreenXenith
- Location: UTC-8:00
- Contact:
Re: How long are complex textures stored in memory?
Generated textures are stored until the server shuts down/restarts.
YouTube | Mods | Patreon | Minetest Discord @greenxenith
You should not be able to read this message.
You should not be able to read this message.
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: How long are complex textures stored in memory?
Generated textures are stored on the client only, so are stored until the client disconnects. The only way a server restart affects this is because a server restart will disconnect all clients
This is something I'd like to see fixed, ie: more intelligent caching and garbage collection
This is something I'd like to see fixed, ie: more intelligent caching and garbage collection
- Piezo_
- Member
- Posts: 219
- Joined: Fri Jul 20, 2018 21:36
- GitHub: is proprietary I use NotABug
- Location: (x,y,z)
Re: How long are complex textures stored in memory?
If they're only allocated clientside, that relieves my primary concern (memory usage on my server), but it's definitely still an issue.rubenwardy wrote:Generated textures are stored on the client only, so are stored until the client disconnects. The only way a server restart affects this is because a server restart will disconnect all clients
This is something I'd like to see fixed, ie: more intelligent caching and garbage collection
while (true) { suffer(); }
Who is online
Users browsing this forum: No registered users and 26 guests