polygon-city / polygon-city-cli

Converts a CityGML file into GeoJSON footprint indexes and 3D models (obj & collada)
6 stars 1 forks source link

suppress .mtl files #19

Closed meetar closed 8 years ago

meetar commented 8 years ago

As textures aren't being used we can suppress the output of the .mtl files for now

robhawkes commented 8 years ago

I had a look into wether assimp can suppress these at source and it doesn't look like it. I'll have a think about the best way to approach it – likely just deleting the mtl files and removing any reference to them from the obj files.

robhawkes commented 8 years ago

I've just pushed an update which removes the mtl files and any definitions from the obj files. Not perfect (would be great to stop assimp generating these) but it'll do for now.