Hi,
I am downloading .osm files from openstreet maps and I am converting .osm to .obj and .mtl files, but in .obj file vn is not available. How can I get vertices normals.
Thanks & Regards,
Mallikarjuna.
Hi,
I am downloading .osm files from openstreet maps and I am converting .osm to .obj and .mtl files, but in .obj file vn is not available. How can I get vertices normals.
Thanks & Regards,
Mallikarjuna.
I assume you’re using OSM2World for the conversion. I’ve just checked and vertex normals are indeed missing from the OBJ output with current versions of OSM2World. I’ll look into fixing that soon.
If you don’t feel like waiting for a fix, it may be an option for you export to glTF files. These should contain the vertex normals.
Hi,
How can I export to glTF files, in OSM I am selecting area and doing export. It is downloading in .osm format.
Thanks & Regards,
Mallikarjuna
I assumed you were using OSM2World to convert the .osm files you downloaded to .obj (and .mtl) files. The process to convert the .osm files to .gltf is pretty much the same.
But perhaps my assumption was wrong. Can you describe how exactly you’re currently converting .osm files to .obj?
Hi,
I am using OSM2World only to convert .osm files to obj files, but are we are working obj files, please letus know when OSM2World tool got updated for Vn.
Thanks & Regards,
Mallikarjuna.
I’ve implemented and deployed a fix. If you get the latest build available from the OSM2World download page, it should now export normal vectors to OBJ files as vn lines.
Thank you, now I am getting, Vn lines.