IronManBeta -> RE: Map values editor: poor road detection after 2.01 (8/24/2014 8:17:48 PM)
|
Thanks for your patience. I finally pulled this png into the map editor and found that it had altered the colors subtly! Your image has a shade of gray for the roads of 192, 192, 192 which is exactly as specified but the map editor reads it as 191, 191, 191! I don't know why but that is what it is telling me. I suspect a bug in a supporting library. The easy fix is to allow my road scanner to look for 192 +/- 1 in the code and that picks up all the roads. What I would really like to do is find out why it took each color level down by 1 in the first place. So starting with the 2.06 release it will read your png images as is. In the meantime you might find it possible to bump the levels to 193, 193, 193 and see if that works in the map editor. This is the first time this has cropped up. Sorry for the inconvenience and I will be testing for this routinely going forwards. Thanks, Rob
|
|
|
|