Commit Graph

79 Commits

Author SHA1 Message Date
Blyron dcca826ade
Aaron/opendrivetomapineditor (#6056)
* Added way to download files from overpass api

* Save downloaded text to a file

* Changed log type for File manipulation

* Online process files when request is valid

* Correct file format

* Correct file format for UE4 class

* Fix compilation issue due to name change

* Create Widget with OpenFileDialogFunctionality

* Step xodr to map completed

* Generated Static meshes and replace procedural actors

* Created and saved assets during road generation

* Formatted file correctly

* OSM To ODR broguht to UE4

* Full pipeline working on linux

* Added osm2odr support in editor in Windos

* Added Widget to CartaTools

* Fixed Linux compilation error

* Added Carla Game Instance included to avoid compilation error

* Added Simplify to LibCarla, Added timers to measure time generation.  Add mesh deformation during road creation.

* Fixed mesh format translations

* Concated meshes generated in the same lane to avoid errors during simplification

* Avoid Simplify to remove border vertices and try to parallel assets creation process

* Road Generation 0.1 version ready

* Removing Engine Association, Formatting CarlaTools Build dependencies

* Change container type of generated procedural mesh componetns to be supported by UPROPERTY

* Fixed indices jumping by two

* Cleaning branch

* Cleanup last spaces

* Remove spaces on Opendrivetowditor.cpp
2023-02-15 09:50:55 +01:00
aollero d348dc51ee Region widget missing in previous commit 2022-11-04 14:05:28 +01:00
aollero a908b11be2 Rois small changes after feedback 2022-11-04 14:05:28 +01:00
aollero d7ab334270 Final graphical changes 2022-11-04 14:05:28 +01:00
aollero 50610e57ae Dark heightmap error fixed 2022-11-04 14:05:28 +01:00
aollero ca14a9c6be Region colors and minor changes 2022-11-04 14:05:28 +01:00
aollero 23ae71fb83 Misc editor fixed 2022-11-04 14:05:28 +01:00
aollero 4b079f368a Widget pipeline finished - not tested 2022-11-04 14:05:28 +01:00
aollero 8921a6a21f Minor graphical changes in the weather tab 2022-11-04 14:05:28 +01:00
aollero fab7d5e85d Rainny weather supported for sunset and night times 2022-11-04 14:05:28 +01:00
aollero 08b1a1f7d9 Welcome and NamePath Tab 2022-11-04 14:05:28 +01:00
aollero b1249b92f3 Weather tab rework and pipeline improvements 2022-11-02 11:23:24 +01:00
aollero 4d0a4a054a Soil tab improved 2022-11-02 11:23:24 +01:00
aollero dd13c50c5c Started to change pipeline workflow 2022-11-02 11:23:24 +01:00
aollero 84206866b1 Extra tool for actors creation 2022-11-02 11:23:24 +01:00
aollero 80fc9a8816 Rois Terrain Preview Basic Version 2022-11-02 11:23:24 +01:00
aollero 000d415aed Preview Layer Combo created 2022-11-02 11:23:24 +01:00
aollero c2dfc89021 Terrain Rois Presets bug fixed 2022-11-02 11:23:24 +01:00
aollero 4cdc258c96 Terrain ROIs presets 2022-11-02 11:23:24 +01:00
adrian-ollero 5bf409765c
Aollero/terramechanics actors and rois preview (#5867)
* Show and hide detailed noise

* Heightmap material updated for previous commit

* Addition of soil type query code to terramechanics component

* Bug creating vegetation and teramechanics actors fixed

* Terrain Rois Presets

Co-authored-by: bernat <bernatx@gmail.com>
2022-10-25 17:37:26 +02:00
aollero 9718e233b4 Terramechanics and Vegetation manager actors 2022-10-25 09:50:13 +02:00
aollero 0ec4cbded9 Invert range warpped from [0,1] range to [-1,1] 2022-10-25 09:50:13 +02:00
adrian-ollero 6117e548ae
Aollero/terrain rois (#5834)
* Terrain rois defined within the user widget

* Improvementes in ROIs blending with original heightmap

* Rois Tiling fixed

* Support for multiple ROIs (overlapping bug)

* Minor improvementes in river placement

* Support for Spreaded and specific actors ROIs

* Soil type Rois supported in widget

* Soil type assignment to main map container actor

* Soil type queried from soil type actor soil list and tag

* Cleaning code

* Basic Spreaded Actors feature

* Single selection for specific actors placement

* Misc Persistent state for specific location actors implemented

* Spreaded Actors feature completed

* Spreaded Actors Tagged, offset and delete option code

* Specific Location Actor basic implementation

* Specific actor placement feauture completed

* Terrain Editor Bugs Fixed

* Missing icon

* Smoothing terrain boundaries

* Sewing between terrain tiles

* Terrain overlapping ROIs not allowed

* Overlapping message bug fixed

* Preset c++ funtions

* Improvements in the terrain generation

* Presets creation

* Terrain preset feature finished

* Missing references fixed

* Format errors fixed

* Last format fixes

* Error in static member

* Changing tabs for spaces

* Identation to spaces

* Duplicated include deleted

Co-authored-by: bernat <bernatx@gmail.com>
2022-10-17 16:17:22 +02:00
adrian-ollero 9bb8f41f3e
Aollero/river preset generator (#5650)
* First steps on river generation

* Region of interest base sckeleton

* Vegetation ROIs back logic implementation

* Region of interest for vegetation integrated into widget

* Some more improvements in River generation

* ROI selection clicking on preiew heightmap

* ROIs visual preview selection and support for many Rois

* Persistent widget state

* Widget bugs fixed

* Soil tab

* Landscape smooth tool and widget init bug fixed

* Weather tab finished and some river generation progress

* Flatening tiles that contains rivers

* Widget updates

* Missing references

* Deleted unnecessary assets

* Some progresses on Rivers but not fully working

* Terrain ROIs Widget adaptations

* First steps on Terrain ROIs

* Format fixed
2022-08-30 17:14:07 +02:00
aollero 4506ce8871 Unnecessary tab removed 2022-06-21 13:14:03 +02:00
aollero bfe95e86e2 Missing change in reviewable code 2022-06-21 13:14:03 +02:00
aollero d35d2c49c6 Spaces and format corrections 2022-06-21 13:14:03 +02:00
aollero 25016132da Tiling bug fixed and minor changes to get ready for PR 2022-06-21 13:14:03 +02:00
aollero 5a5212d25b Code cleaning and refactoring 2022-06-21 13:14:03 +02:00
aollero 3c6605ff79 Collisions fixed 2022-06-21 13:14:03 +02:00
aollero fc7186a09d Complete pipeline working despite collision and resolution errors 2022-06-21 13:14:03 +02:00
aollero 606008c473 Largemap creation completed 2022-06-21 13:14:03 +02:00
aollero b7757f8d6c Large Map Configuration from source code at map creation 2022-06-21 13:14:03 +02:00
aollero 4787fcfe9f Open drive file created based on a basic opendrive file 2022-06-21 13:14:03 +02:00
aollero d2a52e566d Size in km shown in widget and material is assigned to procedural mesh 2022-06-21 13:14:03 +02:00
aollero 2da799d879 Widget UI improved by locking tabs and loading existing maps 2022-06-21 13:14:03 +02:00
aollero 3d00b66c2b Dead references deleted 2022-06-21 13:14:03 +02:00
aollero e70692cf55 Vulkan support when importing heightmap, but with blocky effect 2022-06-21 13:14:03 +02:00
aollero fa06ddc97a Small changes for adapting to new map generation process 2022-06-21 13:14:03 +02:00
aollero f046812746 Manual weather support 2022-06-21 13:14:03 +02:00
aollero 5360f2045c Pre merge commit 2022-06-21 13:14:03 +02:00
aollero 389c5e1e5f Apply heightmap at landscape creation - not fixing collision problems 2022-06-21 13:14:03 +02:00
aollero 99425a700e Landscape instantiated dynamically 2022-06-21 13:14:03 +02:00
aollero 737c32e776 Map Creation avoiding duplicated GUIDs 2022-06-21 13:14:03 +02:00
aollero ff17f914eb Collision Component Update with warning 2022-06-21 13:14:03 +02:00
aollero b5cbae4a6e Post edit event on landscape not working 2022-06-21 13:14:03 +02:00
aollero e85f9afa23 Grid texture improved 2022-06-21 13:14:03 +02:00
aollero 0a4bc2c7cb Visual Grid 2022-06-21 13:14:03 +02:00
aollero f9643d84ad Starting Water bodies generation 2022-06-21 13:14:03 +02:00
aollero ad8187fa36 Terrain editor layout improved 2022-06-21 13:14:03 +02:00