I'm working on an isometric map and it has a wall image that runs for like 1300 squares. To make life easier for me, I created a really big image of the wall, and then just copied it 4 times and pieced them together to get a continous wall. The asset is big, a 3000x1800 png image.
Then i got to wondering if this is the right way to tackle this. Which is preferable in maptool? Less assets that are really big...or tons of assets that are more reasonably sized? Is there a conclusive "go this route" answer or does it depend more on specific circumstances?
Thanks! No problems with chopping my 4 walls into 40 walls, if that helps with performance!
Asset size and performance
Moderators: dorpond, trevor, Azhrei
Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior.
Re: Asset size and performance
IMX: lots of small is faster than a few large.
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
DISCORD (the new MT forum!)
My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Asset size and performance
Yea, if it's a "repeatable" image, it's better to let MT repeat that image for you vs doing it externally and creating a large map. However, it's really based on memory size.
For instance, if that 3000x1800 is only 100kb image, then that's not much of a concern. If it's 30mb, that's an issue (well, could be, depends on your player's clients. Running on a core i7 with 48 GB ram and on a 1 GB network, is a lot different than I3's with 4GB ram over the internet)
So, if you have 1 10kb image representing 1 cell, and paste that 1300 times, MT can cache the image once and draw it 1300 times more efficiently than 1 single 130mb image...
For instance, if that 3000x1800 is only 100kb image, then that's not much of a concern. If it's 30mb, that's an issue (well, could be, depends on your player's clients. Running on a core i7 with 48 GB ram and on a 1 GB network, is a lot different than I3's with 4GB ram over the internet)
So, if you have 1 10kb image representing 1 cell, and paste that 1300 times, MT can cache the image once and draw it 1300 times more efficiently than 1 single 130mb image...
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
Re: Asset size and performance
Thanks for the feedback.
The original "big" image was 3.4 megs, the new one which I now repeat lots and lots times is 277 kb. Once I had replaced all the big pieces with all the small pieces, the overall size of the campaign file itself dropped by 3 megs, so that seems to be roughly the difference.
Have not had a chance to see actual performance, with players connected, but hoepfully this is a step in the right direction.
The original "big" image was 3.4 megs, the new one which I now repeat lots and lots times is 277 kb. Once I had replaced all the big pieces with all the small pieces, the overall size of the campaign file itself dropped by 3 megs, so that seems to be roughly the difference.
Have not had a chance to see actual performance, with players connected, but hoepfully this is a step in the right direction.
- JamzTheMan
- Great Wyrm
- Posts: 1872
- Joined: Mon May 10, 2010 12:59 pm
- Location: Chicagoland
- Contact:
Re: Asset size and performance
It definitely won't hurt at least.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork