DLR-RM / BlenderProc

A procedural Blender pipeline for photorealistic training image generation
GNU General Public License v3.0
2.83k stars 452 forks source link

light conditions and rain/snow simulation #958

Closed soans1994 closed 1 year ago

soans1994 commented 1 year ago

Describe your feature request

hello,

I need some inputs from you regarding the following problems,

  1. I want to generate data for day and night light conditions. Is using HDRI background better than manual sun/point light sampling.

  2. Is there anyway to simulate simple rain and snow in front of the 3d object using Physics positioning. Other way is to use random object position sampling by creating a small snow/rain like structure. Will it be too much memory intensive .

Thank You

Describe a possible solution

No response

cornerfarmer commented 1 year ago

Hey,

  1. Yes hdri backgrounds usually create a more realistic lighting, see the haven example (https://github.com/DLR-RM/BlenderProc/tree/main/examples/datasets/haven)
  2. At the moment blenderproc does not support rain/snow effects. In blender you would usually do that via particle effects not single objects. However, this is not so easy to get right. So if you want a simple solution, I would recommend to add these effects as augmentations after rendering the images, e.g. with imgaug (https://imgaug.readthedocs.io/en/latest/source/overview/weather.html?highlight=rain#rain)
soans1994 commented 1 year ago

@cornerfarmer

thank you for your reply. I will check out the links. Also we can use Adobe photoshop or Illustrator to create rain,snow,fog effect and use batch actions function for all images.