You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a parser for OpenDRIVE and its capability to generate .obj files, I was able to create an OpenDRIVE importer for Blender. I separated the .obj files for multiple elements so that each can have a different material applied to them. Currently, it's just the base road mesh and road markings. Luckily, all the imported meshes seem to have the same origin so no transformations are needed. Once the .obj files are brought in, I can apply materials and create a hierarchy for the meshes.
We can completely run the process without opening the Blender GUI to go from OpenDRIVE to FBX using the command blender --background --python <scriptname.py> -- <path to .obj 1> <path to .obj 2> <path to fbx output>. This can be combined with the steps mentioned in #23 to bring generated maps into CARLA if needed.
The text was updated successfully, but these errors were encountered:
@ishaan95 nice work! This is still not going to enable editing of OpenDRIVE, which is a much harder problem, but it is a really good addition to have this tool for Blender! I think I could add a section with links to additional tools to the readme like esmini did and mention it there, among some other closely related things.
Hello,
Using a parser for OpenDRIVE and its capability to generate .obj files, I was able to create an OpenDRIVE importer for Blender. I separated the .obj files for multiple elements so that each can have a different material applied to them. Currently, it's just the base road mesh and road markings. Luckily, all the imported meshes seem to have the same origin so no transformations are needed. Once the .obj files are brought in, I can apply materials and create a hierarchy for the meshes.
We can completely run the process without opening the Blender GUI to go from OpenDRIVE to FBX using the command
blender --background --python <scriptname.py> -- <path to .obj 1> <path to .obj 2> <path to fbx output>
. This can be combined with the steps mentioned in #23 to bring generated maps into CARLA if needed.The text was updated successfully, but these errors were encountered: