diff --git a/Docs/img/logo_vectorzero.jpg b/Docs/img/logo_vectorzero.jpg deleted file mode 100644 index 3970e4464..000000000 Binary files a/Docs/img/logo_vectorzero.jpg and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Brush.jpg b/Docs/img/material_customization/Materials_Brush.jpg new file mode 100644 index 000000000..c88663402 Binary files /dev/null and b/Docs/img/material_customization/Materials_Brush.jpg differ diff --git a/Docs/img/material_customization/Materials_DecalsMeshes.jpg b/Docs/img/material_customization/Materials_DecalsMeshes.jpg new file mode 100644 index 000000000..0749941fa Binary files /dev/null and b/Docs/img/material_customization/Materials_DecalsMeshes.jpg differ diff --git a/Docs/img/material_customization/Materials_Dust.jpg b/Docs/img/material_customization/Materials_Dust.jpg new file mode 100644 index 000000000..1d5aff53b Binary files /dev/null and b/Docs/img/material_customization/Materials_Dust.jpg differ diff --git a/Docs/img/material_customization/Materials_Dust.png b/Docs/img/material_customization/Materials_Dust.png deleted file mode 100644 index c5616e8d0..000000000 Binary files a/Docs/img/material_customization/Materials_Dust.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Flakes.jpg b/Docs/img/material_customization/Materials_Flakes.jpg new file mode 100644 index 000000000..c39470fa8 Binary files /dev/null and b/Docs/img/material_customization/Materials_Flakes.jpg differ diff --git a/Docs/img/material_customization/Materials_Flakes.png b/Docs/img/material_customization/Materials_Flakes.png deleted file mode 100644 index 4d1e24e91..000000000 Binary files a/Docs/img/material_customization/Materials_Flakes.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Gain.jpg b/Docs/img/material_customization/Materials_Gain.jpg new file mode 100644 index 000000000..a3bf24fe5 Binary files /dev/null and b/Docs/img/material_customization/Materials_Gain.jpg differ diff --git a/Docs/img/material_customization/Materials_Gain.png b/Docs/img/material_customization/Materials_Gain.png deleted file mode 100644 index 6f529436c..000000000 Binary files a/Docs/img/material_customization/Materials_Gain.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Instances.jpg b/Docs/img/material_customization/Materials_Instances.jpg new file mode 100644 index 000000000..cfba73cde Binary files /dev/null and b/Docs/img/material_customization/Materials_Instances.jpg differ diff --git a/Docs/img/material_customization/Materials_Instances.png b/Docs/img/material_customization/Materials_Instances.png deleted file mode 100644 index d39ec86b0..000000000 Binary files a/Docs/img/material_customization/Materials_Instances.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Master.jpg b/Docs/img/material_customization/Materials_Master.jpg new file mode 100644 index 000000000..5d1fc54b3 Binary files /dev/null and b/Docs/img/material_customization/Materials_Master.jpg differ diff --git a/Docs/img/material_customization/Materials_Master.png b/Docs/img/material_customization/Materials_Master.png deleted file mode 100644 index c6205f76c..000000000 Binary files a/Docs/img/material_customization/Materials_Master.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Mud.jpg b/Docs/img/material_customization/Materials_Mud.jpg new file mode 100644 index 000000000..490b05a94 Binary files /dev/null and b/Docs/img/material_customization/Materials_Mud.jpg differ diff --git a/Docs/img/material_customization/Materials_Mud.png b/Docs/img/material_customization/Materials_Mud.png deleted file mode 100644 index 8ff2c0622..000000000 Binary files a/Docs/img/material_customization/Materials_Mud.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Noise.png b/Docs/img/material_customization/Materials_Noise.png deleted file mode 100644 index 4e753ea7d..000000000 Binary files a/Docs/img/material_customization/Materials_Noise.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Noise_High.jpg b/Docs/img/material_customization/Materials_Noise_High.jpg new file mode 100644 index 000000000..1920fcb38 Binary files /dev/null and b/Docs/img/material_customization/Materials_Noise_High.jpg differ diff --git a/Docs/img/material_customization/Materials_Noise_High.png b/Docs/img/material_customization/Materials_Noise_High.png deleted file mode 100644 index 081aaa97e..000000000 Binary files a/Docs/img/material_customization/Materials_Noise_High.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Noise_Low.png b/Docs/img/material_customization/Materials_Noise_Low.png deleted file mode 100644 index f504f4694..000000000 Binary files a/Docs/img/material_customization/Materials_Noise_Low.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Paint.jpg b/Docs/img/material_customization/Materials_Paint.jpg new file mode 100644 index 000000000..b20534258 Binary files /dev/null and b/Docs/img/material_customization/Materials_Paint.jpg differ diff --git a/Docs/img/material_customization/Materials_References.png b/Docs/img/material_customization/Materials_References.png deleted file mode 100644 index a6ab89b61..000000000 Binary files a/Docs/img/material_customization/Materials_References.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_RenderTarget.jpg b/Docs/img/material_customization/Materials_RenderTarget.jpg new file mode 100644 index 000000000..dce2afef5 Binary files /dev/null and b/Docs/img/material_customization/Materials_RenderTarget.jpg differ diff --git a/Docs/img/material_customization/Materials_RenderTarget.jpg~ b/Docs/img/material_customization/Materials_RenderTarget.jpg~ new file mode 100644 index 000000000..316389942 Binary files /dev/null and b/Docs/img/material_customization/Materials_RenderTarget.jpg~ differ diff --git a/Docs/img/material_customization/Materials_RoadMaster.jpg b/Docs/img/material_customization/Materials_RoadMaster.jpg new file mode 100644 index 000000000..d83396f95 Binary files /dev/null and b/Docs/img/material_customization/Materials_RoadMaster.jpg differ diff --git a/Docs/img/material_customization/Materials_RoadPainter_Default.jpg b/Docs/img/material_customization/Materials_RoadPainter_Default.jpg new file mode 100644 index 000000000..9e8f90e45 Binary files /dev/null and b/Docs/img/material_customization/Materials_RoadPainter_Default.jpg differ diff --git a/Docs/img/material_customization/Materials_RoadPainter_LaneMarking.jpg b/Docs/img/material_customization/Materials_RoadPainter_LaneMarking.jpg new file mode 100644 index 000000000..cb850ea65 Binary files /dev/null and b/Docs/img/material_customization/Materials_RoadPainter_LaneMarking.jpg differ diff --git a/Docs/img/material_customization/Materials_Surface.jpg b/Docs/img/material_customization/Materials_Surface.jpg new file mode 100644 index 000000000..1ae0245dc Binary files /dev/null and b/Docs/img/material_customization/Materials_Surface.jpg differ diff --git a/Docs/img/material_customization/Materials_Surface.jpg~ b/Docs/img/material_customization/Materials_Surface.jpg~ new file mode 100644 index 000000000..1ae0245dc Binary files /dev/null and b/Docs/img/material_customization/Materials_Surface.jpg~ differ diff --git a/Docs/img/material_customization/Materials_Surface.png b/Docs/img/material_customization/Materials_Surface.png deleted file mode 100644 index 970fd768b..000000000 Binary files a/Docs/img/material_customization/Materials_Surface.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Tint_Off.png b/Docs/img/material_customization/Materials_Tint_Off.png deleted file mode 100644 index 53d15477d..000000000 Binary files a/Docs/img/material_customization/Materials_Tint_Off.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_Tint_On.png b/Docs/img/material_customization/Materials_Tint_On.png deleted file mode 100644 index bb0bfc11e..000000000 Binary files a/Docs/img/material_customization/Materials_Tint_On.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_VehicleLights.png b/Docs/img/material_customization/Materials_VehicleLights.png deleted file mode 100644 index 02ce5e08e..000000000 Binary files a/Docs/img/material_customization/Materials_VehicleLights.png and /dev/null differ diff --git a/Docs/img/material_customization/Materials_VehicleLights02.jpg b/Docs/img/material_customization/Materials_VehicleLights02.jpg deleted file mode 100644 index 61b0b3e7d..000000000 Binary files a/Docs/img/material_customization/Materials_VehicleLights02.jpg and /dev/null differ diff --git a/Docs/img/materials_screenshot_00.png b/Docs/img/materials_screenshot_00.png deleted file mode 100644 index e21daac43..000000000 Binary files a/Docs/img/materials_screenshot_00.png and /dev/null differ diff --git a/Docs/img/materials_screenshot_01.png b/Docs/img/materials_screenshot_01.png deleted file mode 100644 index 2f97dfe14..000000000 Binary files a/Docs/img/materials_screenshot_01.png and /dev/null differ diff --git a/Docs/img/tuto_depth.jpg b/Docs/img/tuto_depth.jpg new file mode 100644 index 000000000..9cbc0e5a5 Binary files /dev/null and b/Docs/img/tuto_depth.jpg differ diff --git a/Docs/img/tuto_depth.png b/Docs/img/tuto_depth.png deleted file mode 100644 index 2c1041c9b..000000000 Binary files a/Docs/img/tuto_depth.png and /dev/null differ diff --git a/Docs/img/tuto_depths.jpg b/Docs/img/tuto_depths.jpg new file mode 100644 index 000000000..ab075a206 Binary files /dev/null and b/Docs/img/tuto_depths.jpg differ diff --git a/Docs/img/tuto_depths.png b/Docs/img/tuto_depths.png deleted file mode 100644 index 9e37f82bb..000000000 Binary files a/Docs/img/tuto_depths.png and /dev/null differ diff --git a/Docs/img/tuto_detectors.jpg b/Docs/img/tuto_detectors.jpg new file mode 100644 index 000000000..8774b0b91 Binary files /dev/null and b/Docs/img/tuto_detectors.jpg differ diff --git a/Docs/img/tuto_detectors.png b/Docs/img/tuto_detectors.png deleted file mode 100644 index c8349f99d..000000000 Binary files a/Docs/img/tuto_detectors.png and /dev/null differ diff --git a/Docs/img/tuto_lidar.jpg b/Docs/img/tuto_lidar.jpg new file mode 100644 index 000000000..c14f4a462 Binary files /dev/null and b/Docs/img/tuto_lidar.jpg differ diff --git a/Docs/img/tuto_lidar.png b/Docs/img/tuto_lidar.png deleted file mode 100644 index e56690940..000000000 Binary files a/Docs/img/tuto_lidar.png and /dev/null differ diff --git a/Docs/img/tuto_map.jpg b/Docs/img/tuto_map.jpg new file mode 100644 index 000000000..8b5d201c5 Binary files /dev/null and b/Docs/img/tuto_map.jpg differ diff --git a/Docs/img/tuto_map.png b/Docs/img/tuto_map.png deleted file mode 100644 index 06b367171..000000000 Binary files a/Docs/img/tuto_map.png and /dev/null differ diff --git a/Docs/img/tuto_no_rendering.jpg b/Docs/img/tuto_no_rendering.jpg new file mode 100644 index 000000000..8c7ff4077 Binary files /dev/null and b/Docs/img/tuto_no_rendering.jpg differ diff --git a/Docs/img/tuto_no_rendering.png b/Docs/img/tuto_no_rendering.png deleted file mode 100644 index 3eab2ac65..000000000 Binary files a/Docs/img/tuto_no_rendering.png and /dev/null differ diff --git a/Docs/img/tuto_other.jpg b/Docs/img/tuto_other.jpg new file mode 100644 index 000000000..7dc5dca5a Binary files /dev/null and b/Docs/img/tuto_other.jpg differ diff --git a/Docs/img/tuto_other.png b/Docs/img/tuto_other.png deleted file mode 100644 index b33a292e8..000000000 Binary files a/Docs/img/tuto_other.png and /dev/null differ diff --git a/Docs/img/tuto_query_blocked.jpg b/Docs/img/tuto_query_blocked.jpg new file mode 100644 index 000000000..3d40b90ea Binary files /dev/null and b/Docs/img/tuto_query_blocked.jpg differ diff --git a/Docs/img/tuto_query_blocked.png b/Docs/img/tuto_query_blocked.png deleted file mode 100644 index 7b7e895a2..000000000 Binary files a/Docs/img/tuto_query_blocked.png and /dev/null differ diff --git a/Docs/img/tuto_query_collisions.jpg b/Docs/img/tuto_query_collisions.jpg new file mode 100644 index 000000000..23a29082a Binary files /dev/null and b/Docs/img/tuto_query_collisions.jpg differ diff --git a/Docs/img/tuto_query_collisions.png b/Docs/img/tuto_query_collisions.png deleted file mode 100644 index 64fcfa0cc..000000000 Binary files a/Docs/img/tuto_query_collisions.png and /dev/null differ diff --git a/Docs/img/tuto_query_frames.jpg b/Docs/img/tuto_query_frames.jpg new file mode 100644 index 000000000..76a02c96a Binary files /dev/null and b/Docs/img/tuto_query_frames.jpg differ diff --git a/Docs/img/tuto_query_frames.png b/Docs/img/tuto_query_frames.png deleted file mode 100644 index f2712d141..000000000 Binary files a/Docs/img/tuto_query_frames.png and /dev/null differ diff --git a/Docs/img/tuto_radar.jpg b/Docs/img/tuto_radar.jpg new file mode 100644 index 000000000..d2913f7af Binary files /dev/null and b/Docs/img/tuto_radar.jpg differ diff --git a/Docs/img/tuto_radar.png b/Docs/img/tuto_radar.png deleted file mode 100644 index eb7e759e3..000000000 Binary files a/Docs/img/tuto_radar.png and /dev/null differ diff --git a/Docs/img/tuto_rgb.jpg b/Docs/img/tuto_rgb.jpg new file mode 100644 index 000000000..717b2b9db Binary files /dev/null and b/Docs/img/tuto_rgb.jpg differ diff --git a/Docs/img/tuto_rgb.jpg~ b/Docs/img/tuto_rgb.jpg~ new file mode 100644 index 000000000..717b2b9db Binary files /dev/null and b/Docs/img/tuto_rgb.jpg~ differ diff --git a/Docs/img/tuto_rgb.png b/Docs/img/tuto_rgb.png deleted file mode 100644 index 51a40f809..000000000 Binary files a/Docs/img/tuto_rgb.png and /dev/null differ diff --git a/Docs/img/tuto_sem.jpg b/Docs/img/tuto_sem.jpg new file mode 100644 index 000000000..4f04db0a7 Binary files /dev/null and b/Docs/img/tuto_sem.jpg differ diff --git a/Docs/img/tuto_sem.png b/Docs/img/tuto_sem.png deleted file mode 100644 index 781156b6c..000000000 Binary files a/Docs/img/tuto_sem.png and /dev/null differ diff --git a/Docs/img/tuto_spawning.jpg b/Docs/img/tuto_spawning.jpg new file mode 100644 index 000000000..d3ea17792 Binary files /dev/null and b/Docs/img/tuto_spawning.jpg differ diff --git a/Docs/img/tuto_spawning.png b/Docs/img/tuto_spawning.png deleted file mode 100644 index 9606b3c3c..000000000 Binary files a/Docs/img/tuto_spawning.png and /dev/null differ diff --git a/Docs/img/tuto_sumo.jpg b/Docs/img/tuto_sumo.jpg new file mode 100644 index 000000000..f3e9437a7 Binary files /dev/null and b/Docs/img/tuto_sumo.jpg differ diff --git a/Docs/img/tuto_sumo.png b/Docs/img/tuto_sumo.png deleted file mode 100644 index 548f92ee8..000000000 Binary files a/Docs/img/tuto_sumo.png and /dev/null differ diff --git a/Docs/img/tuto_weather.jpg b/Docs/img/tuto_weather.jpg new file mode 100644 index 000000000..c7ec57d68 Binary files /dev/null and b/Docs/img/tuto_weather.jpg differ diff --git a/Docs/img/tuto_weather.png b/Docs/img/tuto_weather.png deleted file mode 100644 index db9ba3c8e..000000000 Binary files a/Docs/img/tuto_weather.png and /dev/null differ diff --git a/Docs/tuto_A_material_customization.md b/Docs/tuto_A_material_customization.md index 756f7b371..fb66e94b7 100644 --- a/Docs/tuto_A_material_customization.md +++ b/Docs/tuto_A_material_customization.md @@ -20,7 +20,7 @@ The CARLA team prepares every asset to run under certain default settings. Howev In CARLA, there is a set of master materials that are used as templates for the different parts of the vehicle. An instance of these is created for each vehicle model, and then changed to the desired result. The master materials can be found in `Content/Carla/Static/GenericMaterials/Vehicles`, and these are the following. -![materials_master](img/material_customization/Materials_Master.png) +![materials_master](img/material_customization/Materials_Master.jpg)
Master materials applied to cars.
* __M_CarExterior_Master__ — Material applied to the body of the car. @@ -36,7 +36,7 @@ In CARLA, there is a set of master materials that are used as templates for the Create instances of the master materials and store them in the corresponding folder for the new model. Here is an example of the instances created for the police car available in the blueprint library, *vehicle.dodge_charger.police*. -![materials_instances](img/material_customization/Materials_Instances.png) +![materials_instances](img/material_customization/Materials_Instances.jpg)
Instanced materials for the police car blueprint.
Generic documentation for materials and how to work with them can be found in the [UE Docs](https://docs.unrealengine.com/en-US/Engine/Rendering/Materials/index.html). All the materials can be modified to a great extent, but only the exterior one has properties worth mentioning. Others have certain properties that can be changed, such as opacity and color in glass materials, but it is not recommended to do so, except for specific purposes. @@ -58,7 +58,7 @@ The exterior material is applied to the body of the car, and it is the one that * `Thickness` — Density of the dust. * `Roughness` — Decrease of the car's metallic reflections due to dust. -![materials_Dust](img/material_customization/Materials_Dust.png) +![materials_Dust](img/material_customization/Materials_Dust.jpg)
Dust property in a car's material.
* __Flakes__ — Sparkling flakes to the metallic paint of the car. @@ -67,7 +67,7 @@ The exterior material is applied to the body of the car, and it is the one that * `Brightness` — Intensity of the sparkle. * `Color` — Base color of the particles. -![materials_Flakes](img/material_customization/Materials_Flakes.png) +![materials_Flakes](img/material_customization/Materials_Flakes.jpg)
Flakes property in a car's material.
* __Gain__ — Noise to the base paint of the car. @@ -75,7 +75,7 @@ The exterior material is applied to the body of the car, and it is the one that * __Scale__ — Size of the gain. * __Color__ — Base color of the gain. -![materials_Gain](img/material_customization/Materials_Gain.png) +![materials_Gain](img/material_customization/Materials_Gain.jpg)
Gain property in a car's material.
* __Mud__ — A texture of mud applied to the car. Mud appears from the bottom to top of the car. @@ -84,14 +84,14 @@ The exterior material is applied to the body of the car, and it is the one that * `Mud_Tiling` — Size and repetition of the mud texture pattern. * `Mud_Thickness` — Density of the mud. -![materials_mude](img/material_customization/Materials_Mud.png) +![materials_mude](img/material_customization/Materials_Mud.jpg)
Mud property in a car's material.
* __Noise__ — Noise applied to the normal of the material. Creates an orange peel effect. * `On/Off` — Enables or disables the feature. * `Scale` — Size of the bumps created by the alteration of the normal map. -![materials_noise](img/material_customization/Materials_Noise.png) +![materials_noise](img/material_customization/Materials_Noise_High.jpg)
Noise property in a car's material.
* __Surface__ — Gloss and transparent coating applied to the vehicle's paint. This last step in [automotive paint](https://en.wikipedia.org/wiki/Automotive_paint). @@ -99,7 +99,7 @@ The exterior material is applied to the body of the car, and it is the one that * `ClearCoat_Brightness` — Glossiness of the resulting material. * `ClearCoat_Metallic` — Reflection of the resulting material. -![materials_Surface](img/material_customization/Materials_Surface.png) +![materials_Surface](img/material_customization/Materials_Surface.jpg)
Visualization of the Surface coating applied to a material.
@@ -153,11 +153,18 @@ The blueprint __RoadPainter__ is an easy way to change drastically the appearenc First of all, a group material will be created. This will contain the instances of the materials the road will be painted with. -__1. Create an instance of the RoadMaster material.__ It can be found in `???/path`. -__2. Set the `RenderTarget`.__ [Create a render target](https://docs.unrealengine.com/en-US/Engine/Rendering/RenderTargets/BlueprintRenderTargets/HowTo/CreatingTextures/index.html) for the road map that is bein used, and add it in the corresponding field. -> Obtain the render target. -__3. Set the map size.__ ??? How to know value? What is it used for? -__4. Choose the materials to be applied.__ Add them to the fields `??? base`, `??? 2`, `??? 3`. The tool allows up to three materials, as the pain each of them will be codified in one channel in the RenderTarget. +__1. Create an instance of the RoadMaster material.__ It can be found in `Game/Carla/Static/GenericMaterials/RoadPainterMaterials`. + +![materials_RoadMaster_Materials](img/material_customization/Materials_RoadMaster.jpg) +
Panel to set materials to be applied on the road.
+ +__2. Set the `RenderTarget`.__ [Create a render target](https://docs.unrealengine.com/en-US/Engine/Rendering/RenderTargets/BlueprintRenderTargets/HowTo/CreatingTextures/index.html) for the road map that is being used. In `Texture Parameter Values` enable `Texture mask` and add the texture. + +![materials_RoadMaster_RenderTarget](img/material_customization/Materials_RenderTarget.jpg) +
Panel where the Render Target should be set.
+ +__3. Set the map size.__ In `Scalar Parameter Values` the field `Map units (CM)`. If the size is not known, use a temporary value. The real size of the map can be retrieved later, when using the blueprint. ??? How to know value? What is it used for? +__4. Choose the materials to be applied.__ There is space for one base material and three additional materils that will be used to paint over the base one. The painting information will be stored in the RGB channels of a RenderTarget, one channel per material. Add them to the fields `Base Material`, `Material 1`, `Material 2`, and `Material 3`. ### Change the appearance of the road @@ -168,47 +175,63 @@ The appearence of the road is changed using a blueprint provided by CARLA. The b This tool does not interfere with the weather settings that change the road's appearence, such as wetness or precipitation. __1. Create an instance of the RoadPainter blueprint.__ It can be found in `Carla/Blueprints/LevelDesign`. This blueprint determines how is the road being painted, and how are the materials in `RoadMaster` being used. -__2. Set the `RenderTarget` and the `Map size`.__ This must be the same as in the __RoadMaster__ material. +__2. Set the `RenderTarget` and the `Map size`.__ In the `Paint` category. These must be the same as in the __RoadMaster__ material. + +![materials_RoadPaint_RenderTarget](img/material_customization/Materials_RenderTarget.jpg) +
Panel where the Render Target and Map Size should be set to fit the Road group material.
!!! Note - The `Z-size` option will give you the exact size of the map. Increase this by a little and make sure both, the blueprint and the master material have the same value. + The `Z-size` option in the `Default` panel will give you the exact size of the map. Increase this by a little and make sure both, the blueprint and the master material have the same value. __3. Apply the group material in `???`.__ -__4. For each material, set the brush to be used.__ There are different brushes available in `GenericMateirals/RoadStencil/Alphas`. The materials will be applied over the road using the brush and parameters stated here. -> Parameters??? +__4. For each material, set the brush to be used.__ There are different brushes available in `GenericMaterials/RoadStencil/Alphas`. The materials will be applied over the road using the brush and parameters stated here. + +* `Stencil size` — Size of the brush. +* `Brush strength` — Roughness of the outline. +* `Spacebeween Brushes` — Distance between strokes. +* `Max Jitter` — Size variation of the brush between strokes. +* `Stencil` — The brush to be used. +* `Rotation` — Rotation applied to the stroke. + +![materials_roadpaint_brushes](img/material_customization/Materials_Brush.jpg) +
Brush panel.
__5. For each material, apply it to the desired portions of the road.__ In the `???` section, there is a series of buttons that will apply the materials. -* `Paint all roads` -* `Paint by actor` -* `Paint over circle` -* `Paint over square` +* `Paint all roads` — Applies the brush to all the road. +* `Paint by actor` — Paints a specific actor being selected. +* `Paint over circle` — +* `Paint over square` — -This section also contains options to erase the changes applied. -* `Clear all` -* `Clear materials` -* `Clear material by actor` +This section also contains options to erase the changes applied. + +* `Clear all` — Erases all the painting applied by the blueprint. +* `Clear materials` — +* `Clear material by actor` — + +![materials_roadpaint_brushes](img/material_customization/Materials_RoadPainter_Default.jpg) +
Different painting and erasing options.
!!! Note Move the editor view a little for the changes to be visible. __5. Add decals in `` and meshes in ``.__ Add the elements to the corresponding array and set some basic parameters for how should these be spawned over the road. -* `number` -* `fixed offset` -* `random offset` -* `scale` -* `rotation` +* `Decal/Mesh Scale` — Scale of the decal/mesh per axis. +* `Fixed Decal/Mesh Offset` — Deviation from the center of the lane per axis. +* `Decal/Mesh Random Offset` — Max deviation from the center of the lane per axis. +* `Decal/Mesh Random Yaw` — Max random yaw rotation. +* `Decal/Mesh Min Scale` — Minimum random scale applied to the decal/mesh. +* `Decal/Mesh Max Scale` — Max random scale applied to the decal/mesh. + +![materials_](img/material_customization/Materials_DecalsMeshes.jpg) +
Decals and Meshes panels.
__6. Spawn the decals and meshes.__ Use the buttons `Spawn decals` and `Spawn meshes` to do so. Additionally, the button `Spawn meshes by actor` ??. -__7. Play around.__ Try different settings, materials and brushes to obtain completely different results. This tool allows to create different presets for the road appearence and changing between them simply by changing the group material and updating a few settings. - -> Pictures - -> This tool does not interfere with weather parameters that affect the road, such as wetness, puddles or rain. +__7. Play around.__ Try different settings, materials and brushes to obtain completely different results. This tool allows to create different presets for the road appearence and changing between them simply by changing the group material and updating a few settings. ### Update the appearance of lane markings @@ -216,8 +239,8 @@ After the road's appearance has been customized, the lane markings should be upd __1. Create a copy of the group material.__ This has be the same as it was for the road. __2. Select the lane marking meshes.__ -__3. Switch the `???` option.__ This will update the lane markings to be consistent to the painting applied to the road. -__4. Choose the color of the lane marking.__ The parameter `???` will set the lane markings selected to have a base paint of the stated color. +__3. Mark them as lane markings.__ In `Static Switch Parameter Values` enable `LaneMark`. This will update the lane markings to be consistent to the painting applied to the road. +__4. Choose the color of the lane marking.__ In `Texture` set the `LaneColor` to the value desired. This will set the lane markings selected to have a base paint of the stated color. --- diff --git a/Docs/tuto_G_retrieve_data.md b/Docs/tuto_G_retrieve_data.md index 0022878e0..badd05b5e 100644 --- a/Docs/tuto_G_retrieve_data.md +++ b/Docs/tuto_G_retrieve_data.md @@ -121,7 +121,7 @@ This script can enable different settings. Some of them will be mentioned during
-![tuto_map](img/tuto_map.png) +![tuto_map](img/tuto_map.jpg)
Aerial view of Town07
### Weather setting @@ -166,7 +166,7 @@ python weather.py --clouds 100 --rain 80 --wetness 100 --puddles 60 --wind 80 --
-![tuto_weather](img/tuto_weather.png) +![tuto_weather](img/tuto_weather.jpg)
Weather changes applied
--- @@ -203,7 +203,7 @@ python spawn_npc.py -n 50 -w 50 --safe ```
-![tuto_spawning](img/tuto_spawning.png) +![tuto_spawning](img/tuto_spawning.jpg)
Vehicles spawned to simulate traffic.
### SUMO co-simulation traffic @@ -237,7 +237,7 @@ python run_synchronization.py examples/Town01.sumocfg --sumo-gui The traffic generated by this script is an example created by the CARLA team. By default it spawns the same vehicles following the same routes. These can be changed by the user in SUMO. -![tuto_sumo](img/tuto_sumo.png) +![tuto_sumo](img/tuto_sumo.jpg)
SUMO and CARLA co-simulating traffic.
!!! Warning @@ -328,9 +328,9 @@ cam_location = carla.Location(2,0,1) cam_rotation = carla.Rotation(0,180,0) cam_transform = carla.Transform(cam_location,cam_rotation) ego_cam = world.spawn_actor(cam_bp,cam_transform,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) -ego_cam.listen(lambda image: image.save_to_disk('tutorial/output/%.6d.png' % image.frame)) +ego_cam.listen(lambda image: image.save_to_disk('tutorial/output/%.6d.jpg' % image.frame)) ``` -![tuto_rgb](img/tuto_rgb.png) +![tuto_rgb](img/tuto_rgb.jpg)
RGB camera output
### Detectors @@ -392,7 +392,7 @@ def obs_callback(obs): print("Obstacle detected:\n"+str(obs)+'\n') ego_obs.listen(lambda obs: obs_callback(obs)) ``` -![tuto_detectors](img/tuto_detectors.png) +![tuto_detectors](img/tuto_detectors.jpg)
Output for detector sensors
### Other sensors @@ -438,7 +438,7 @@ def imu_callback(imu): ego_imu.listen(lambda imu: imu_callback(imu)) ``` -![tuto_other](img/tuto_other.png) +![tuto_other](img/tuto_other.jpg)
GNSS and IMU sensors output
--- @@ -468,10 +468,10 @@ depth_rotation = carla.Rotation(0,180,0) depth_transform = carla.Transform(depth_location,depth_rotation) depth_cam = world.spawn_actor(depth_bp,depth_transform,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) # This time, a color converter is applied to the image, to get the semantic segmentation view -depth_cam.listen(lambda image: image.save_to_disk('tutorial/new_depth_output/%.6d.png' % image.frame,carla.ColorConverter.LogarithmicDepth)) +depth_cam.listen(lambda image: image.save_to_disk('tutorial/new_depth_output/%.6d.jpg' % image.frame,carla.ColorConverter.LogarithmicDepth)) ``` -![tuto_depths](img/tuto_depths.png) +![tuto_depths](img/tuto_depths.jpg)
Depth camera output. Simple conversion on the left, logarithmic on the right.
### Semantic segmentation camera @@ -496,10 +496,10 @@ sem_rotation = carla.Rotation(0,180,0) sem_transform = carla.Transform(sem_location,sem_rotation) sem_cam = world.spawn_actor(sem_bp,sem_transform,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) # This time, a color converter is applied to the image, to get the semantic segmentation view -sem_cam.listen(lambda image: image.save_to_disk('tutorial/new_sem_output/%.6d.png' % image.frame,carla.ColorConverter.CityScapesPalette)) +sem_cam.listen(lambda image: image.save_to_disk('tutorial/new_sem_output/%.6d.jpg' % image.frame,carla.ColorConverter.CityScapesPalette)) ``` -![tuto_sem](img/tuto_sem.png) +![tuto_sem](img/tuto_sem.jpg)
Semantic segmentation camera output
### LIDAR raycast sensor @@ -549,7 +549,7 @@ meshlab ``` __3.__ Open one of the _.ply_ files. `File > Import mesh...` -![tuto_lidar](img/tuto_lidar.png) +![tuto_lidar](img/tuto_lidar.jpg)
LIDAR output after being processed in Meshlab.
### Radar sensor @@ -616,7 +616,7 @@ def rad_callback(radar_data): rad_ego.listen(lambda radar_data: rad_callback(radar_data)) ``` -![tuto_radar](img/tuto_radar.png) +![tuto_radar](img/tuto_radar.jpg)
Radar output. The vehicle is stopped at a traffic light, so the static elements in front of it appear in white.
--- @@ -671,7 +671,7 @@ python no_rendering_mode.py --no-rendering
-![tuto_no_rendering](img/tuto_no_rendering.png) +![tuto_no_rendering](img/tuto_no_rendering.jpg)
no_rendering_mode.py working in Town07
!!! Note @@ -764,13 +764,13 @@ print(client.show_recorder_collisions("~/tutorial/recorder/recording01.log",'v', !!! Note The recorder does not need to be on, in order to do the queries. -![tuto_query_frames](img/tuto_query_frames.png) +![tuto_query_frames](img/tuto_query_frames.jpg)
Query showing important events. This is the frame where the ego vehicle was spawned.
-![tuto_query_blocked](img/tuto_query_blocked.png) +![tuto_query_blocked](img/tuto_query_blocked.jpg)
Query showing actors blocked. In this simulation, the ego vehicle remained blocked for 100 seconds.
-![tuto_query_collisions](img/tuto_query_collisions.png) +![tuto_query_collisions](img/tuto_query_collisions.jpg)
Query showing a collision between the ego vehicle and an object of type "other".
!!! Note @@ -936,7 +936,7 @@ def main(): cam_rotation = carla.Rotation(0,180,0) cam_transform = carla.Transform(cam_location,cam_rotation) ego_cam = world.spawn_actor(cam_bp,cam_transform,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) - ego_cam.listen(lambda image: image.save_to_disk('~/tutorial/output/%.6d.png' % image.frame)) + ego_cam.listen(lambda image: image.save_to_disk('~/tutorial/output/%.6d.jpg' % image.frame)) """ # -------------- @@ -1172,7 +1172,7 @@ def main(): cam_bp.set_attribute("image_size_y",str(1080)) cam_bp.set_attribute("fov",str(105)) ego_cam = world.spawn_actor(cam_bp,cam_transform,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) - ego_cam.listen(lambda image: image.save_to_disk('~/tutorial/new_rgb_output/%.6d.png' % image.frame)) + ego_cam.listen(lambda image: image.save_to_disk('~/tutorial/new_rgb_output/%.6d.jpg' % image.frame)) """ # -------------- @@ -1189,7 +1189,7 @@ def main(): depth_transform = carla.Transform(depth_location,depth_rotation) depth_cam = world.spawn_actor(depth_bp,depth_transform,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) # This time, a color converter is applied to the image, to get the semantic segmentation view - depth_cam.listen(lambda image: image.save_to_disk('~/tutorial/de_log/%.6d.png' % image.frame,carla.ColorConverter.LogarithmicDepth)) + depth_cam.listen(lambda image: image.save_to_disk('~/tutorial/de_log/%.6d.jpg' % image.frame,carla.ColorConverter.LogarithmicDepth)) """ # -------------- # Add a Depth camera to ego vehicle. @@ -1205,7 +1205,7 @@ def main(): depth_transform02 = carla.Transform(depth_location02,depth_rotation02) depth_cam02 = world.spawn_actor(depth_bp02,depth_transform02,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) # This time, a color converter is applied to the image, to get the semantic segmentation view - depth_cam02.listen(lambda image: image.save_to_disk('~/tutorial/de/%.6d.png' % image.frame,carla.ColorConverter.Depth)) + depth_cam02.listen(lambda image: image.save_to_disk('~/tutorial/de/%.6d.jpg' % image.frame,carla.ColorConverter.Depth)) """ # -------------- @@ -1222,7 +1222,7 @@ def main(): sem_transform = carla.Transform(sem_location,sem_rotation) sem_cam = world.spawn_actor(sem_bp,sem_transform,attach_to=ego_vehicle, attachment_type=carla.AttachmentType.SpringArm) # This time, a color converter is applied to the image, to get the semantic segmentation view - sem_cam.listen(lambda image: image.save_to_disk('~/tutorial/new_sem_output/%.6d.png' % image.frame,carla.ColorConverter.CityScapesPalette)) + sem_cam.listen(lambda image: image.save_to_disk('~/tutorial/new_sem_output/%.6d.jpg' % image.frame,carla.ColorConverter.CityScapesPalette)) """ # --------------