tordanik / OSM2World

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

Vertex colour not above textures #30

Open Matthias84 opened 11 years ago

Matthias84 commented 11 years ago

With the SuperTuxKart community, I play around to synthesize levels for this SuperMarioKart clone. They uses blender3d as design studio, so I imported textured multi .OBJs. Sadly there seem to be a problem, that the vertex colours of the building (that STK doesn' make use) "hide" here the real textures: http://forum.freegamedev.net/viewtopic.php?f=18&t=4016#p41251

so is there anything, we can do to reverse the order, or disable temporaly the vector colours export?

tordanik commented 11 years ago

For reference, this is what OSM2World currently does: Building facades are rendered using two texture layers and a color. The color is blended with the base texture and the partially-transparent second texture layer is rendered on top.

It seems that this either doesn't work in blender at all or doesn't survive the .obj export and import. Can you tell which is the case? And does using two texture layers, but no color, work?