Trevor wrote:To be precise, there isn't any concept of px per feet, there is just what I call "native" or "natural" pixel size.
Even though you are the programmer I disagree with that statement.
No matter the zoom level that are a certain number of pixels that equate to a grid and that grid represents a real world measurement whether it is 5', 2 meters, 2 cubits or a furlong.
So there is a correlation even if you haven't exposed it.
Trevor wrote:That is, if your map is 1000 x 1000 and you have 200x200 cells (this is very large is MapTool terms), and if you have a chair that is 200x200 pixels, then the chair will fill exactly one cell, regardless of zoom.
I'm not sure that I am following you here. Are you saying that if I bring in a graphic while at a 200 px/grid zoom level and then back off to a 40 px/grid level that the 200 px object will be scaled down to 40 px?
Is it assuming that images brought in as stamps are always 1 grid unit in size?
trevor wrote:Steel Rat wrote:DJ maps are primarily intended to be printed, I think that's the reason for the higher density and scale of those objects in general.
the question is, do we want maximum compatibility with actual mapping programs?
The easier the experience the better
That was kinda the point of my post.
If MapTool does not have a "native size" than no one will be able to make bitmapped objects that will be at the correct scale. Every object that is brought in will have to be scaled at the time it is placed on the map.
If a 40 pixel item is brought in and fills a square at the 1:1 zoom but at 2x zoom it only fills a corner of the grid that is a problem for the GM.
Essentially there needs to be an established size that people can prescale to so that they can expect an imported object to be displayed at the appropriate size independent of zoom level. When a GM brings in a table they will want it to be table-sized on the map without having to piddle with it.
There is the potential of using the DPI setting within an image for MapTool to make intelligent scaling decisions about images brought in. If a PNG is brought in with a DPI setting of 200 then MapTool equates that to mean 200 px/grid and scales it appropriately to match pixels/grid of the current zoom level.