tordanik / OSM2World

converter that creates three-dimensional models of the world from OpenStreetMap data
http://osm2world.org/
GNU Lesser General Public License v3.0
563 stars 123 forks source link

color definitions are different #22

Open Matthias84 opened 11 years ago

Matthias84 commented 11 years ago

As SBM introduces different colour=* attributes with the definition of colour=*, I tried to make use of spelling colour names e.g. red. blue, yellow. I noticed, that O2W interpretates this quiet different than the W3C specs (a bit darker and less shiny).

This might be a good intention, as the world doesn't look like playmobil ;) but causes confusion, as the mapper now needs to enter HTML colour codes.

So maybe we can make this darker layout optional to fullfil the offical specs and allowing people to get realistic colouring?

P.S. colour=silver doesn't seem to be recognized?

tordanik commented 11 years ago

OSM2World does indeed not use W3C's color definitions. These would be completely useless for buildings because there is no building in reality that has a FF0000 "red", for example.

I agree that it would be good for OSM2World to pick an existing color name dictionary (there are quite a few available), but W3C's does not seem like a good candidate.

Matthias84 commented 11 years ago

Ok, picking one sounds good, as we are talking about subjective nuances. Maybe another hint would be to use rather than absolute colors. I asked the JOSM devs to add an color picker for that: https://josm.openstreetmap.de/ticket/8352