Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] how to export 3D geometry and animations from sumo-web3d to obj / blender

Hello to everyone,

I don’t know if someone has thought about what I will explain now,I didn’t find anything about it,anyway,this is what I’m trying to do…I would like to build a complete traffic system for Blender,avoiding to create everything from scratch. Yesterday I’ve found this open source tool and I’d an idea :

https://www.youtube.com/watch?v=zm5h90H5OS8 3

I’ve thought : what about to use this system for creating a Real Time Vehicular Traffic Simulation ? So,I’ve started immediately and I’ve completed some steps of the project :

  1. I have selected an area with the help of the openstreetmap and I have populated it with cars,lights and road signals inside sumo

  2. since sumo does not support 3D,I’ve found this tool :

https://github.com/sidewalklabs/sumo-web3d

  1. I would like to find a way to convert the json files of the sumo-web3d project in obj files because I want to import them inside blender…

  2. I found this import / export addon for json for blender that should do the next step…

https://www.barneyparker.com/blender-json-import-export-pl…/

or this :

  1. https://stackoverflow.com/…/exporting-threejs-scene-to-obj-…

in theory I should understand how to extract the scene informations from the threejs file of sumo-web3d and convert it to obj or any other 3D file format compatible with blender…this is valid for the 3D geometry…I don’t know how to export also the animations (driving cars,lights on and off)…to make them work inside blender…ideas / suggestions ?

--
Mario.

Back to the top