Friday, August 9, 2024

How to use HDRI Environment in Blender

 https://www.a23d.co/blog/how-to-use-hdri-environment-in-blender

How to use HDRI Environment in Blender

High dynamic range images (HDRI) are commonly used in 3D visualization. It is an image format (.hdr) that contains from the deepest shadow up to the brightest highlight data. Adding an HDRI environment to a 3D model allows for a detailed and realistic rendering of lighting, reflections and shadows.

Applying an HDRI Environment

There are two ways to add an HDRI Environment to the scene in Blender.

The first method is-

Select the World tab from the Properties Editor panel.

From the Surface dropdown menu, add Background.

In the Color input option, click on the yellow circle button and choose Environment Texture. This will enable you to choose an HDRI image file from your storage.

Now you will see the option open image file. Click on the Open button and locate your HDRI file using the File Browser.

After locating your HDRI image from the File Browser, click on the Open Image button.

Your HDRI Environment should now be lighting the Blender scene. You can see the lighting effects in the viewport Rendered View settings or in your Render outputs.

The second method is-

Go to the Shading tab from the top toolbar.

In the Shader editor, change Object into World.

Now you will find two nodes, one Background node and one World Output Node.

Delete the Background node.

Add an Environment Texture node (you can press Shift A and search it in the search tab or use the Add menu from the toolbar of Shader Editor to search).

Connect the Color output of the Envourment Texture node to the Surface input of the World Output node.

Now you will see the option to open an image file. Click on the Open button and load your HDRI file using the File Browser.

Your HDRI Environment should now be lighting the Blender scene. You can see the lighting effects in the viewport Rendered View settings or in your Render outputs.

Rotating your HDRI

To change the rotation of an HDRI background, go to the Shading tab from the Top Toolbar.

In the shader editor, change Object to World.

Then press Ctrl T and both the Texture coordinate nodes and the Mapping node are automatically added (this works if you are using the Node Wrangler addon). Else you can add these nodes manually by pressing Shift A and searching for Texture Coordinates and Mapping nodes in the search tab or using the Add menu from the toolbar of Shader Editor.

In the Mapping Node under Rotation, you can change the Rotation value in the desired axis to rotate the HDRI Background as per your requirement.

How to Create Shadows Using HDRI Lighting

To create a Shadow using HDRI lighting, add a Plane surface and position it under your model.

Now go to Object properties of the Plane.

Under the Visibility section, enable Shadow Catcher. (Your render engine must be Cycles to see this option).

This will now hide the Plane but project a shadow which makes the HDRI more realistic.

Transparent HDRI Enviorment map

You can hide the environment mao from visibility and still have it emit light.

To do so, go to the Render tab from the Properties Editor panel.

Under the Film, drop-down menu select the Transparent option.

Now the HDRI Background will be hidden from visibility but it will still emit light.

Sunday, July 28, 2024

Multiple Materials in One Object in Blender

 Must be in edit mode then select the parts.

Then choose the material required, then assign.



Letting Light Through Glass in Blender

 



Animating Lights in Blender

 




https://docs.blender.org/manual/en/latest/render/lights/light_object.html

To save you from doing the conversion, here is a table of typical power values for point, spot, and area lights:

Real world light

Power

Suggested Light Type

Candle

0.05 W

Point

800 lm LED bulb

2.1 W

Point

1000 lm light bulb

2.9 W

Point

1500 lm PAR38 floodlight

4 W

Area, Disk

2500 lm fluorescent tube

4.5 W

Area, Rectangle

5000 lm car headlight

22 W

Spot, size 125 degrees

And a table of typical Strength values for sun lights:

Sun type

Strength

Clear sky

1000 W/m2

Cloudy sky

500 W/m2

Overcast sky

200 W/m2

Moonlight

0.001 W/m2

These values will likely produce much brighter or dimmer lights than you would expect, because our eyes adapt while a render engine does not. So to compensate, adjust the Exposure in Render ‣ Film.

To get realistic results, remember to also set the light size and color to realistic values. The color of your lights will also influence how bright they appear to the human visual system. If you leave the power unchanged, a green light will seem the brightest, red darker and blue the darkest. Thus you might want to manually compensate for these perceived differences.

Friday, July 26, 2024

Exporting 3D models to Davinci Resolve

 

Davinci can import Olympique 3D animation file.

Wednesday, July 24, 2024

Exporting Davinci Resolve to Blender

 Instead of just a static HDR 360 degree panoramic picture background, we can insert Blender 3D images into videos from Davinci Resolve.



Exporting Blender to Davinci Resolve

The video editor in Blender is very basic. Davinci Resolve is a professional quality video editor that can output to the latest video formats and can even upload to YouTube conveniently.



Simplest way is to use VFXIO, Linear to Gamma 2.
He uses up to 2 LUTs using Filmic versions of LUTs available at GitHub.

open EXR, DWAA format



He recommends open EXR. For LUT,  for default Blender viewport can use Linear to sRGB or Rec709. Rec 709 is still dark. But he uses Aria Log C which is not as bright as sRgb.