paulo.maciel Posted February 17, 2015 Posted February 17, 2015 What would be the recommended way to create roads for a Unigine based application. Are there extrusion classes to extrude roads? Load the road geometry or build it on the fly via a geometry shader?Is a "road construction" module/library in the works by Unigine in similar ways as EasyRoads3D for Unity. What is the best way to handle road-road intersections and road-train track intersections? Those are just some of the question we have. Thanks in advance
unclebob Posted February 17, 2015 Posted February 17, 2015 Hello, Paulo! We neither have extrude classes nor road editing toolset built into the editor, because that'd take a lot of work to do properly and we need to focus on general features like asset management and stable undo-redo system. In our Portangeles and California demos created a road graph in external editor (CityEngine in our case) then exported that geometry to the engine and put it on landscape as deferred decals. That way you don't have to create dense mesh in order to fit the terrain. If you have a look at our roads then you may notice that they're more like 'volumes' instead of 'dense road mesh'. In our driving demo we did a bunch of handmade models which could be connected with each other (so called 'modular design'). So it really depends on your project. If you need to do air simulation then it'll be much more efficient to use deferred decals. Even in some cases you can use them in closeups. Basic principle will remain the same: use external editor to create roads and export them to Unigine. On the other hand, you can ask your programmers to extend our editor and create road editing toolset. For example, it may be mesh extrusion from spline like Unity's EasyRoads3D package.
paulo.maciel Posted February 19, 2015 Author Posted February 19, 2015 Hello UncleBob, Thanks for the responses. Deferred decals is somehting that we were going to look into.The hard part is the road intersections with train tracks and I am not sure if there is a way of making that work well up close with decals. Thanks again. Paulo
Recommended Posts