Giter VIP home page Giter VIP logo

sumo3d's Introduction

SUMO3d

A partial unity 3D project for coupling SUMO and Unity3D

Screenshot

Link to youtube video: youtube Video

IMPORTANT:

Due to the numerous questions about publishing this project you will find it here.

I unfortunately had to remove all questionable third party elements from the project due to unknown licenses (e.g. ALL 3d models and assets!). The most important parts are located within 3dCourse\Assets\Scripts. You WILL have to put time into this to get it running (you should start a new unity3D project anyway). I am not a professional programmer and did not maintain this for quite a long time. It was just meant to be an illustration without taking care of clean/beautiful code! Also notice that many comments are in the german language and I had no time to translate or clean the code. So please don't expect a ready-to-go piece of software ;-)

The Folder GenerateSimulationForUnity3D contains everything for a quick road network generation using an embedded SUMO version. The unity3d project was in my case also linked to this sumo version. The folder 3dCourse contains the partial unity3D project, mainly cosisting of the remaining scripts.

This project contains a ported version of Traci4J (https://github.com/egueli/TraCI4J) to C#. Unity3d therefore is able to communicate to SUMO.

There are a few files you could download:

sumo (I used v0.31.0) --> GenerateSimulationForUnity3D\AdditionalExecutables\sumo-svn

You can have a look into the code to get an idea how the 3d models were included (PathConstants.cs)

Buildings, Traffic Lights etc.: Various 3D models --> 3dCourse\Assets\3DModelle*

Helper for defining the roads: SuperSplinesPro --> 3dCourse\Assets\3DModelle\HilfsAssets

Textures and Plants: EasyRoads3D Free --> 3dCourse\Assets\3DModelle\3DStrasseVegetation
NatureStarterKit2 --> 3dCourse\Assets\3DModelle\3DStrasseVegetation\

Hopefully you can get it to run, have fun!

This project contains GNU General Public License licensed parts from the Traci4J project and due to this is also published under the same license.

sumo3d's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.