Respect for former member_danevich, he is right
We have to fit all given images provided by plugins into the 1024x1024 texture window which we have reserved for plugins. That's a difficult problem so we just throw images into the window in a really simple way. With a recent update we replaced the algorithm by a better one. However, a perfect solution might still not be found. In computer science this problem is related to the Knapsack Problem. The problem is NP-complete which means that it's expensive to find a perfect solution (or at least no efficient algorithm could be found yet).
Lifehack with plugins
Plug-in related stuff can be discussed here.
Moderator: Plugin Moderators
Return to “Plug-In Discussion”
Jump to
- Your City
- ↳ Screenshots
- ↳ Topical Screenshot Threads
- ↳ Stories Subforum
- ↳ Lists
- ↳ Media
- ↳ Events
- ↳ Roleplay topics pronounced dead
- ↳ Map Showcase
- The Game
- ↳ Game Discussion
- ↳ Wiki
- ↳ Terrain
- ↳ Transport
- ↳ Airport
- ↳ Zones
- ↳ Residential
- ↳ Commercial
- ↳ Industrial
- ↳ Energy
- ↳ Water
- ↳ Parks
- ↳ Sports
- ↳ Public
- ↳ Education
- ↳ Religion
- ↳ Awards
- ↳ Fire department
- ↳ Police
- ↳ Health
- ↳ DSA
- ↳ Military
- ↳ Decoration
- ↳ Catastrophes
- ↳ Other
- ↳ Suggestions
- ↳ Tips and Tricks
- ↳ Problems and Errors (bugs)
- ↳ Live feeds (not currently available)
- ↳ Translation
- Plug-in System
- ↳ Plug-In Discussion
- ↳ Showcase
- ↳ Collections
- ↳ Terrain and Trees
- ↳ Transport, Airport, Roads
- ↳ Zones
- ↳ Residential
- ↳ Commercial
- ↳ Industrial
- ↳ Parks, Sports and Management
- ↳ Supply - Energy, Water, Waste Disposal
- ↳ Schools, Religion and Culture
- ↳ Service
- ↳ Award and Special
- ↳ Decorations and Tools
- ↳ Firework
- ↳ Shaders
- ↳ Other
- ↳ Miscellaneous
- ↳ Tutorials and Documentation
- ↳ Fun attribute
- ↳ Lua Scripting
- ↳ Resources
- ↳ Problems
- ↳ Plugin Topic Trash
- Misc
- ↳ Smalltalk
- ↳ Jailhouse Rock
- ↳ Jailhouse Rock Trash
- ↳ German Corner / Deutscher Bereich
- ↳ Allgemeine Diskussion
- ↳ Spielablauf (Tipps und Tricks)
- ↳ Fehler und Probleme (Bugs!)
- ↳ News
- ↳ Forum