RPTools.net

Discussion and Support

Skip to content

It is currently Mon Dec 18, 2017 4:06 am 




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. :)



Reply to topic  [ 5 posts ] 

Previous topic | Next topic 

  Print view

Author Message
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 602
 Post subject: Asset size and performance
PostPosted: Mon Aug 07, 2017 12:37 pm 
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!


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9427
Location: Netherlands
 Post subject: Re: Asset size and performance
PostPosted: Mon Aug 07, 2017 1:30 pm 
IMX: lots of small is faster than a few large.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
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


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Asset size and performance
PostPosted: Mon Aug 07, 2017 2:06 pm 
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...

_________________
-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


Top
 Profile  
 
 Offline
Dragon
 
Joined: Tue Apr 20, 2010 7:22 pm
Posts: 602
 Post subject: Re: Asset size and performance
PostPosted: Mon Aug 07, 2017 7:03 pm 
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.


Top
 Profile  
 
User avatar  Offline
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1722
Location: Chicagoland
 Post subject: Re: Asset size and performance
PostPosted: Mon Aug 07, 2017 8:12 pm 
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 5 posts ] 

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 1 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: Yahoo [Bot] and 1 guest





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman