From 583b6e9fbbb38f3c4006aa23e3fef444ee8ccb4a Mon Sep 17 00:00:00 2001 From: Marc Garcia Puig Date: Mon, 27 Jul 2020 17:11:53 +0200 Subject: [PATCH] Added docs --- Docs/bp_library.md | 12 ++++++++++++ Docs/ref_sensors.md | 18 ++++++++++++++---- .../Source/Carla/Sensor/SceneCaptureSensor.cpp | 6 +++--- 3 files changed, 29 insertions(+), 7 deletions(-) diff --git a/Docs/bp_library.md b/Docs/bp_library.md index e04d00af1..86f6f6196 100755 --- a/Docs/bp_library.md +++ b/Docs/bp_library.md @@ -36,6 +36,7 @@ Check out the [introduction to blueprints](core_actors.md). - **Attributes:** - `black_clip` (_Float_)_ – Modifiable_ - `blade_count` (_Int_)_ – Modifiable_ + - `bloom_intensity` (_Float_)_ – Modifiable_ - `blur_amount` (_Float_)_ – Modifiable_ - `blur_radius` (_Float_)_ – Modifiable_ - `calibration_constant` (_Float_)_ – Modifiable_ @@ -57,6 +58,7 @@ Check out the [introduction to blueprints](core_actors.md). - `iso` (_Float_)_ – Modifiable_ - `lens_circle_falloff` (_Float_)_ – Modifiable_ - `lens_circle_multiplier` (_Float_)_ – Modifiable_ + - `lens_flare_intensity` (_Float_)_ – Modifiable_ - `lens_k` (_Float_)_ – Modifiable_ - `lens_kcube` (_Float_)_ – Modifiable_ - `lens_x_size` (_Float_)_ – Modifiable_ @@ -85,6 +87,7 @@ Check out the [introduction to blueprints](core_actors.md). - **Attributes:** - `black_clip` (_Float_)_ – Modifiable_ - `blade_count` (_Int_)_ – Modifiable_ + - `bloom_intensity` (_Float_)_ – Modifiable_ - `blur_amount` (_Float_)_ – Modifiable_ - `blur_radius` (_Float_)_ – Modifiable_ - `calibration_constant` (_Float_)_ – Modifiable_ @@ -106,6 +109,7 @@ Check out the [introduction to blueprints](core_actors.md). - `iso` (_Float_)_ – Modifiable_ - `lens_circle_falloff` (_Float_)_ – Modifiable_ - `lens_circle_multiplier` (_Float_)_ – Modifiable_ + - `lens_flare_intensity` (_Float_)_ – Modifiable_ - `lens_k` (_Float_)_ – Modifiable_ - `lens_kcube` (_Float_)_ – Modifiable_ - `lens_x_size` (_Float_)_ – Modifiable_ @@ -144,6 +148,7 @@ Check out the [introduction to blueprints](core_actors.md). - `dropoff_intensity_limit` (_Float_)_ – Modifiable_ - `dropoff_zero_intensity` (_Float_)_ – Modifiable_ - `lower_fov` (_Float_)_ – Modifiable_ + - `noise_stddev` (_Float_)_ – Modifiable_ - `points_per_second` (_Int_)_ – Modifiable_ - `range` (_Float_)_ – Modifiable_ - `role_name` (_String_)_ – Modifiable_ @@ -865,3 +870,10 @@ Check out the [introduction to blueprints](core_actors.md). - `is_invincible` (_Bool_)_ – Modifiable_ - `role_name` (_String_)_ – Modifiable_ - `speed` (_Float_)_ – Modifiable_ +- **walker.pedestrian.0015** + - **Attributes:** + - `age` (_String_) + - `gender` (_String_) + - `is_invincible` (_Bool_)_ – Modifiable_ + - `role_name` (_String_)_ – Modifiable_ + - `speed` (_Float_)_ – Modifiable_ diff --git a/Docs/ref_sensors.md b/Docs/ref_sensors.md index bfeedcba3..93ba72dcc 100644 --- a/Docs/ref_sensors.md +++ b/Docs/ref_sensors.md @@ -828,6 +828,11 @@ A value of 1.5 means that we want the sensor to capture data each second and a h +bloom_intensity +float +0.675 +Intensity for the bloom post-process effect, 0.0 for disabling it. + fov float 90.0 @@ -835,7 +840,7 @@ A value of 1.5 means that we want the sensor to capture data each second and a h fstop float -1.4 +8.0 Opening of the camera lens. Aperture is 1/fstop with typical lens going down to f/1.2 (larger opening). Larger numbers will reduce the Depth of Field effect. image_size_x @@ -850,7 +855,7 @@ A value of 1.5 means that we want the sensor to capture data each second and a h iso float -1200.0 +200.0 The camera sensor sensitivity. gamma @@ -858,6 +863,11 @@ A value of 1.5 means that we want the sensor to capture data each second and a h 2.2 Target gamma value of the camera. +lens_flare_intensity +float +0.1 +Intensity for the lens flare post-process effect, 0.0 for disabling it. + sensor_tick float 0.0 @@ -865,7 +875,7 @@ A value of 1.5 means that we want the sensor to capture data each second and a h shutter_speed float -60.0 +200.0 The camera shutter speed in seconds (1.0/s). @@ -951,7 +961,7 @@ Since these effects are provided by UE, please make sure to check their document exposure_compensation float -3.0 +0.0 Logarithmic adjustment for the exposure. 0: no adjustment, -1:2x darker, -2:4 darker, 1:2x brighter, 2:4x brighter. exposure_min_bright diff --git a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp index 18cc0e9ed..89e187881 100644 --- a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp +++ b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/Sensor/SceneCaptureSensor.cpp @@ -562,16 +562,16 @@ namespace SceneCaptureSensor_local_ns { // Ambient Occlusion PostProcessSettings.bOverride_AmbientOcclusionIntensity = true; PostProcessSettings.AmbientOcclusionIntensity = 0.5f; - PostProcessSettings.bOverride_AmbientOcclusionRadius = true; + PostProcessSettings.bOverride_AmbientOcclusionRadius = true; PostProcessSettings.AmbientOcclusionRadius = 100.0f; PostProcessSettings.bOverride_AmbientOcclusionStaticFraction = true; PostProcessSettings.AmbientOcclusionStaticFraction = 1.0f; PostProcessSettings.bOverride_AmbientOcclusionFadeDistance = true; PostProcessSettings.AmbientOcclusionFadeDistance = 50000.0f; - PostProcessSettings.bOverride_AmbientOcclusionPower = true; + PostProcessSettings.bOverride_AmbientOcclusionPower = true; PostProcessSettings.AmbientOcclusionPower = 2.0f; PostProcessSettings.bOverride_AmbientOcclusionBias = true; - PostProcessSettings.AmbientOcclusionBias = 3.0f; + PostProcessSettings.AmbientOcclusionBias = 3.0f; PostProcessSettings.bOverride_AmbientOcclusionQuality = true; PostProcessSettings.AmbientOcclusionQuality = 100.0f;