-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weather rendering issue (rain and fog) #3545
Comments
Hi, @MaWel8 I recommend to use the environment.py to control the weather in manual_controls.py. It's the script we're currently working with to change the whole weather theme |
Hi, @XGodina I tried changing the weather using the When setting fog with the (Using the pre-packaged CARLA 0.9.10.1 release (for Ubuntu) from GitHub, running with |
@Axel1092 @marcgpuig could you please take a look? |
Hi @MaWel8, sorry for the delay. I believe that you are using OpenGL for the rendering is this right? I haven't been able to reproduce the problem with vulkan (the default renderer in CARLA). Is it not an option to use Vulkan for you? |
Hi @Axel1092 , I think we are using Vulkan as well for rendering. Is there a way to check whether CARLA is running using Vulkan? Information to my machine and my Vulkan installation:
I am running Ubuntu 18.04.5 with a GTX 1080 TI with the nvidia-driver-450 (installed with the Ubuntu Software&Updates tool). |
I can confirm that this issue comes from the OpenGL renderer in the Unreal Engine (the missing water drops, the black sky with the fog...). I tested it with a setup almost identical to yours but with the |
Hi, I changed graphics driver from 450 to 455 and re-installed the vulkan packages using But Unreal in general seems to find the vulkan drivers. Do you have any further ideas what could solve this issue? |
This is weird but I still have the feeling that the issue are the drivers. But definitely the issue is that unreal is not able to find vulkan in your machine in the package. I suggest trying the 440 nvidia drivers, I tried the same package as you did with that driver version and it works fine with the same gpu and OS as yours. |
Packaging myself (using We will check with some other machines whether vulkan works on them properly. |
Hi, So, the vulkan/opengl issue is definitely with my machine (could not find out the reason yet). Just to confirm if it looks the same for you: Does the simulation look for you the same as in the release video or are the drops in the air missing for you as well? Thanks! |
@MaWel8 I have the same problems (the missing water drops, the black sky with the fog...).I think my CARLA is running using Vulkan. ubuntu18.04,carla 0.9.10.1,nvidia 2060 gpu, Driver Version: 450.80.02,Another computer still has the same problems.(ubuntu18.04,carla 0.9.10.1,nvidia 3080 gpu, Driver Version: 455.23.04). Could not find out the reason yet. |
Running into this issue also. How do I confirm I am using Vulcan? wetness, precipitation, precipitation_deposits and cloudiness are set to 100 in the below image. Using a package built from source using this git revision: Running Ubuntu 18.04 with the below drive info
|
Thanks for looking into this. I tried to reproduce this just now and have some new information. All the precipitation values in the below images are set to 100. I tried to reproduce this issue with my compiled 0.9.10 source code and with the manual_control.py script: I then reproduced this issue with my own custom configuration that uses a PyGame GUI built on manual_control.py. It's a bit hard to see but what is interesting about this image is that the rain drops are visible in the image produced by the simulated camera (shown in the PyGame window on the right) but not visible in the CarlaUE4 window. I believe this is because the rain particles that aren't near the vehicle don't render. So when I set the spectator too far away from the vehicle the spectator can't see it. When I move the spectator near the vehicle it can, as shown in the below image. So, I think the issue I had with this can be worked around by keeping my camera close to the vehicle. I don't know if this helps anyone else. Note that there are two related issues:
|
Hi all, I have tested and the rain dropplets and fog are working. The issue that can cause it to not work is the use of OpenGL so please confirm that you are running the vulkan renderer. |
|
Hi, the raindrops don't have color, is the refraction from the water drop. So it is hard to spot them depending on the camera angle and the lighting. To emphasize the contrast of the raindrops you can add some color as we explained at #3530 Another thing; the rain particles are only spawned were we spawn an rgb sensor like the one we create with manual_control.py. It is a square rendering raindrops and it follows the rgb sensor. That is why you don't see rain particles all over the scene. |
I see the rain drop in the rgb camera(sensor). I can not see the rain In the spectator view(the server window). So the problem is solved. |
Hi,
We're having some issues with the weather in CARLA (using the pre-packaged CARLA version 0.9.10.1 for Ubuntu).
Specifically, it seems that rain and fog are not properly rendered.
(Tested with the CARLA server window, as well as, with the CARLA internal camera object using the official
manual_control.py
example client.)We want to have some heavy rain or fog situation which is limiting the visual range of the vehicles (or that is at least noticeably observable).
Unfortunately, we are not able to achieve this.
Whether using the presets provided by the
carla.WeatherParameters
object nor setting the precipitation value manually resulted in visible rendered rain in the air (visual range is identical as well).It is only possible to observe that it is actually raining by checking the visible drops in the precipitation deposits (see image below).
This may be related to #3530 (similar needs but using CARLA version 0.9.9.4 instead).
Further, we're not able to create fog that is observable. When setting up a weather condition including fog, e.g.
carla.WeatherParameters(precipitation=95.0, precipitation_deposits=50, sun_altitude_angle=45, cloudiness=80, wetness=80, fog_density=80, fog_distance=1, fog_falloff=1)
, it seams that the sky box breaks.The sky becomes completely black, but the lighting of the town still works.
In #3494 the same issue is reported (the issue is indicating that it is a problem with the latest CARLA version), but no solution was given so far.
Any help how to have a more realistic raining (and fog) situation is appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: