Git Product home page Git Product logo

roadarchitect's Introduction

RoadArchitect

Maintainers Wanted GitHub license Gitter GitHub release Gendarme issues Github All Releases GitHub contributors

Road Architect for Unity. Road architect is a professional quality road system creator featuring dynamic intersections, bridges and many other road objects.

Now with HDRP support: Check the hdrp branch for details.

Working with 2018.3.0. If interested in contributing contact [email protected].

Videos

Intersections

Intersections

  • Dynamic Procedurally generated based upon lanes, road width and angle of attack.
  • Turn lanes Complete left and right optional turn lanes.
  • Traffic lights Fully functioning and heavily detailed traffic light system including left on yield and right turn lane only lights.
  • Assets Includes several assets such as traffic light poles, street lights, traffic lights, stop signs and more. Most include rigid body versions for dynamic environments.

Bridges

Bridges

  • Bridge wizard Allows for instant creation of professional quality bridges such as causeway, arch, suspension and more. All bridge creation aspects are generated instantly allowing quick iteration.
  • Customization Custom extrusion allows for mix and match of bridge parts. Over 50 bridge parts included.
  • Details Many different types of railing, bases, center dividers included.
  • Curvature Curvature of bridges supported including arch and suspension bridges.

Railing and extrusions

Railing

  • Railing 12+ Railing types included such as K-Rails and W Beams.
  • Center dividers Many center divider options including the most popular configurations such as K-Rails with blinders or street lights. All aspects of mesh extrusion are performed instantly allowing quick iteration.
  • Collision barriers Water barrels and other collision barriers come with prefabricated rigid or static body configurations.
  • Custom extrusion Extrude any custom mesh along the spline with almost limitless customization.

Assets

Assets

  • Road assets several road assets included such as street lights, double lights, stop signs and more. All aspects of road asset placement are done instantly, allowing for quick iterations.
  • Custom assets Place any custom mesh along the spline with an extreme amount of customization options.
  • Signs 300+ U.S. federal and state road signs are pre-built and available for use.
  • Future assets Assets will be added and freely available as time progresses.

Quality

Quality

  • Speed All mesh extrusion, bridge extrusion and road asset placement actions are instantaneous. Optimized road generation results in an average 100ms per (2km road + 1 intersection). Multithreaded support.
  • Quality Most road textures at least 1024x1024 resolution. Most materials include normal and specular maps. Most assets created to federal or state specification.

roadarchitect's People

Contributors

djohns451 avatar gsdnano avatar marcuselg avatar microgsd avatar mneilly avatar rayray26 avatar tonygod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

roadarchitect's Issues

Support for driving on the left side

Does 'Unity - Road Architect' support driving on the left side? If not, it would be really great if it did.
I'm trying to develop a racing game which drives on the left side of the road.

My problem occurs when it comes to intersections, where the stop signs and lines are on the other side (right).

Applying a road segment modify inconsistently the terrain.

I noticed a strange behavior with terrain: when applying different road segments; instead than having the segment to comform to the terrain, the terrain is raised; causing a sort of platform below the road; while the expectation was that the road would sit almost flush on the terrain, using the offset value in the parameters to avoid Z-fighting.

Also the area around the road is affected; with the result that instead of creating a flat road; the terrain is carved on both sides of the road. Not sure if this is a bug or the expected behavior. From the videos, I can see that the terrain does not change, unless a node transform change in height.

Also if you reload a scene after that the terrain has been modified, the terrain is saved, so once you apply a road on the terrain, it is a one way road and the terrain changes are persistent, even if you didn't save the scene.

StreeLightDouble Edge Object Spawning Twice

Hey there,

Very often when I spawn a StreetLightDouble Edge Object via the wizard or from script, it spawns the Streelight Twice. Sometimes twice on the same location and sometimes with an offset.

Thanks in advance.

Issue with Infinity code real world terrain

There is an issue with using Road Architect with Real world terrain asset.
When creating road based on terrain heightmap generated with Real World terrain asset, road updates RealWorld terrain child objects (single terrain parts) transform 'y' coordinate to equalize difference between RealWorldTerrain parent gameobject and terrain parts (e.g. RealWorldTerrain elevation is -78, terrain parts is 30, road sets terrain parts elevation to 78). After that generated road does not repeat terrain relief (see screenshot).

Thank you in advance.
capture

Closed loop Road

Hello How could I use this plugin to make some thing like this.

image

but I could not make it closed.
image

Its a close loop road it has other details too.

Not working on Unity 5.3.4f1

Hello,
I have imported RoadArchitect into my Unity 5.3.4f1. All files are imported. But it;s not showing the menu. And in console, I can see the error.
screenshot_2

Support for Highways/Turnpikes

I think a neat addition for R.A would be a Highway Integration!
Of course, a Highway Integration would be a big project! from customizable space in between Highway Sides to Ramps, tollbooths, and Lanes!
I Think there could be another Catagory for highway Nodes, From Exit Signs, and Gaurd Rails, to Lampost and, Overhead Signs.
Another Idea for Highways is a Tollbooth Entrance, you can select a Node, and there could be a check mark for Tollbooth or nonPaid Entrance

I Think this could be a great integration, and lots of people I brought it up to in the past agree!

I could help design Tollbooths, and Lampost, and whatever you need!
What do you guys think? Good idea for release 2, or maybe later?

T-Junction

Can I create a T-junction with RoadaRchitect? Any help would be appreciated.

GSD/TranShadow shader: v2f missing semantic for lightDir in ShadowPass [2017.1.0xf1]

Unity 2017 reports the following error and fails to compile Shaders/GSDTransparentWithShadows.shader due to a missing semantic on lightDir.

Shader error in 'GSD/TranShadow': 'frag': input parameter 'i' missing semantics at line 118 (on glcore)

Compiling Vertex program with DIRECTIONAL
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME

Adding the semantic resolves the compile problem:

diff --git a/Shaders/GSDTransparentWithShadows.shader b/Shaders/GSDTransparentWithShadows.shader
index 69ac7bc..c749025 100644
--- a/Shaders/GSDTransparentWithShadows.shader
+++ b/Shaders/GSDTransparentWithShadows.shader
@@ -94,7 +94,7 @@ ENDCG
                                float2 uv_MainTex : TEXCOORD1;
                                float4 pos : SV_POSITION;
                                LIGHTING_COORDS(3,4)
-                               float3  lightDir;
+                               float3  lightDir : TEXCOORD2;
                        };

                        float4 _MainTex_ST;

Materials do not render properly

I know it says it works with Unity 5.5.0f3, but I went ahead and tried it on 5.6.0f3. The road materials render as pink splotches and the rest of the materials do not look proper either. Will this be fixed in the near future or am I just missing something?

Road Detailing Issue

Hello!

Thanx for this gorgeous plugin ,

I m having detailing issue with road.
when ever I run car over it seems like its is raveling its details as I travel on.

image

Unity doesn't like its materials

So I have opened the zip and dragged and dropped it into unity 3d, and none of the materials work. Some of the road materials are pink, and then others like the bridge materials are white. This is incredibly annoying, and even once I have re-assigned some of the textures it still isn't great. Please help. For debug purposes, I am running Unity 5.5.0f3 personal, and I have even tried importing it into an empty project and still no luck.

Bridges Wizard is empty in some cases

The "Complete Bridges" category (and possibly others) in the wizard will be empty if Git, Visual Studio or some other tool has modified the line endings in the .gsd files under the Library folder.

To correct this, I recommend adding a second FileSepString that checks for CRLF in addition to just LF.

Road Quality

When using this asset with new Unity 208.2 , I found that the road quality is very bad and the road can't be seen good from above !!
I wish that if there any way to change road texture ( Asphalt ) to any texture i choose

Road markers splinate below the pavement mesh for roads with two nodes

Sorry if this issue has been reported before but at some point the road markers stopped being applied to all roads and even after deleting/replacing relaunching unity they have not come back. Any way I can get around this or force them back on? Even if I add the markers to the materials check the box and hit apply they don't show up. Not sure if it is related or not but when they were showing up they had a very very low stream distance.

Update Release

Hello!

Please update release package.
image

If I directly download this repo materials looses texture references.

image

Repo owner is not a github organization

As mgsd is not a github organization, all official Travis-CI changes will need to be authorized by the respective @MicroGSD Travis-CI user. Until then, all CI and code analysis will have to run privately in forks.

Creating Roads via Code

Hey,

Q1.) Is there any way where the rods can be created via code. If so can you provide some example on hough to place the Road Points and also define the type of road.

Q2.) Is it possible to create roads at runtime ?

Thanks

Clearing RS.Event_MouseTerrainHit is not qualified by event type [Unity 5.6.1xf1]

I'm using Unity 5.6.1xf1.

OnSceneGUI() sets RS.Editor_MouseTerrainHit based on control or shift being pressed while the current event is MouseMove or MouseDrag.

if (current.control && (Event.current.type == EventType.MouseMove || Event.current.type == EventType.MouseDrag)) {
	Ray worldRay = HandleUtility.GUIPointToWorldRay (Event.current.mousePosition);
	RaycastHit hitInfo;
	if (Physics.Raycast (worldRay, out hitInfo)) {
		if (hitInfo.collider.transform.GetComponent<Terrain> () != null || hitInfo.collider.transform.name.ToLower ().Contains ("terrain")) {
			RS.Editor_MousePos = hitInfo.point;
			RS.Editor_MouseTerrainHit = true;

Then the following code block clears RS.Editor_MouseTerrainHit if neither control nor shift are pressed without be qualified against the event type. When layout and repaint events occur, RS.Editor_MouseTerrainHit is cleared and it is impossible to place nodes as a result.

The following change allows me to place nodes:

- if(!current.control && !current.shift){
+ if (!current.control && !current.shift && (Event.current.type == EventType.MouseMove || Event.current.type == EventType.MouseDrag)) {

Custom ShapeFile Road Network

Hi,
I'm really interested in purchasing Real World Terrain to use with RoadArchitect.
My goal is to drape a shape file with traffic data over an elevation model of the UK.
I was wondering if there was a feature that would let me import the ShapeFile as a road network and visualize my point traffic data easily? If not, would I be able to do so within RoadArchitect / Real World Terrain?

Any help would be much appreciated.

Thanks,
Paulo

Big issue

It seems that you have gave up on Road Architect I've literally been using this asset from the day it released on the asset store. I am extremely sad the the product is starting to bug out on Unity 5.6 I would like to help you get this asset back on track I know we can make this asset work and expand. I would really hate to see this asset go, please respond my email address is [email protected]
I hope we can figure something out

No Intersections after drag over node [Unity 5.6.1f1]

Hi, I added the unity package 1.6 to my project. Created a empty scene and run the "run all Unit tests" except one intersection everything looks right.

But when I add 2 roads and follow the #3 Intersection Tutorial, the node snaps but does not generate a intersection.

There is no error. Only two roads overlapping each other.

Access Spline Tangent and relevant position along spline for a given t value

Hey,

I am trying to simulate an AI Car. The car needs to reset to a position along the track where it last got off (Like NFS games where once you crash you respawn to nearest point on the track)
And the car needs to orient in same direction facing the road ahead

Any idea or pointers on how I would go about it

Thanks

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.