NVIDIA / VisRTX

NVIDIA OptiX based implementation of ANARI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lighting

lynetcha opened this issue · comments

Hi Tim,

I am trying to make the rendering look photorealistic and I am wondering if you have pointers on how to do that? Attached is what I get with 4 directional lights. The specular highlights don't look very realistic. Any idea on how this can be improved? Thanks.
lighting.tar.gz

wood

The material above is ::nvidia::vMaterials::Design::Wood::Bubinga::bubinga_chocolate_oiled
Below you can also find ::nvidia::vMaterials::Design::Paint::Gloss::paint_gloss_dark_blue

Screen Shot 2020-02-13 at 9 05 38 PM

and ::nvidia::vMaterials::Design::Wood::Bubinga::bubinga_carbonized_matte
Screen Shot 2020-02-13 at 9 07 04 PM

I expect them to look like the thumbnails below
::nvidia::vMaterials::Design::Wood::Bubinga::bubinga_chocolate_oiled
Screen Shot 2020-02-13 at 9 10 28 PM
::nvidia::vMaterials::Design::Paint::Gloss::paint_gloss_dark_blue
Screen Shot 2020-02-13 at 9 11 27 PM
::nvidia::vMaterials::Design::Wood::Bubinga::bubinga_carbonized_matte
Screen Shot 2020-02-13 at 9 12 02 PM

Hey Lyne,

above spheres don't look completely photorealistic because the lighting setup is just too perfect / too artificial. The sphere is basically hovering in a perfectly black vaccum with a few perfectly homogeneous white spot lights on them.

In contrast, in the reference images from vMaterials you have an interesting ground plane, which adds shadowing, ambient occlusion, and reflections of the pattern on the material. Additionally, there is probably some kind of environmental lighting. Think of the sky above your head, where you have radiance bouncing around and coming from all directions, plus maybe a directional sun light.

To achieve the latter in VisRTX, you can add a HDRILight to the scene. This will basically add a sphere at infinity around the scene, onto which you can map a radiance emitting texture using a spherical projection.

Try googling for "hdri image" to get an impression how such textures can look like. If you use an image with high dynamic range, which is useful when it includes bright lighting such as direct sun light, make sure to use the correct texture format, e.g., RGB32F.

Another thing I mentioned above is the perfectly homogeneous directional light. In reality, lights emit radiance following some kind of wavelength-based distribution. Typically used for AEC workflows, this can be captured in so-called IES light profiles. However, VisRTX does not support such advanced light profiles yet.

So for starters, I suggest making the scene a bit more complex with different materials, so you can have a more natural interplay of reflections, shadowing, ambient occusion, etc., and experimenting with some HDRI images in high dynamic range format to simulate some real-world lighting conditions.

Hope that helps!
Tim

Yes, that was helpful. I got some improvements with HRDI light and a couple of planes. Thank you!
Screen Shot 2020-02-15 at 1 46 00 AM
Screen Shot 2020-02-15 at 1 37 50 AM