OSM2World
OSM2World copied to clipboard
door materials
Looks like different door materials like glass, metal etc. are unfortunately not supported:
Key materials is also not mentioned on the wiki page, but it would be nice to have the same support like for windows. Besides wouldn't it make sense to have the same tagging schema like door:material, door:shape, door:frame:* or door:breast? (min_height seems not to work, but not every door is directly on the ground).
I agree that materials and other attributes would make perfect sense for doors. This is simply a feature no one has gotten around to implementing yet. Notably, it would require better texturing – the current default door texture has the base material, frame and handle all combined in a single texture.
For having a coloured door I helped myself a little by making the door texture colourless, shifting the white point a little and setting a default wood colour. This can also be done with all other (almost) monochrome textures:
material_ENTRANCE_DEFAULT_texture0_file = ./textures/DE19F1FreisingDoor00005_small.png
material_ENTRANCE_DEFAULT_texture0_width = 0.8
material_ENTRANCE_DEFAULT_texture0_height = 2.1
material_ENTRANCE_DEFAULT_texture0_colorable = true
material_ENTRANCE_DEFAULT_color = #c98953
So I can use my own colors:
That is what I wanted to achieve:
@Sinuhe20 Is it ok to include your colourless door texture in tordanik/OSM2World-default-style under that repository's CC0 terms?
In general, the de-coloring treatment would be good for a few other textures as well. I haven't gotten around to doing it myself yet, but I'm happy (and willing to merge the changes) if someone beats me to it.