On Feb 9, 2006, at 2:15 PM, smog zer wrote:
> How is it possible to have a match between the map in stage and the
> mapfile proxy ?
> Stage has like 2 scale factors and mapfile has 1 scale .
> How is it possible to have the same map on both ?
> These one either must go to the faq or have something fixed.
When loading a bitmap file to use as a background, Stage allows you
specify the size in meters of the bitmap. This determines the m/
pixel resolution of the image.
Stage also allows you to specify the m/pixel resolution of the
simulation grid. This setting is independent of the resolution of
any bitmaps that were loaded (though of course there's little point
in make the simulation resolution much finer than the bitmap
resolutions); it controls the spatial granularity of the simulation,
which trades off precision against computation.
The latter quantity is internal to Stage, not visible in any drivers
or client-side proxies.
Btw, the map support in Stage is now quite good; in Player/Stage 2.0,
the map can be retrieved directly from stage without the need to load
it separately with the 'mapfile' driver. Thus you can specify the
map size/resolution in just one place (the .world file).