Written version:Continue reading “How to do 3D-projection mapping with Blender”
In the buttons area (on the right side of the interface), select the “View layer properties” tab.
Under “cryptomatte” turn on “object”, “material” or “asset”. I like “asset” since it let’s me select entire rigs that consist of several parts.
Go to the “compositing” workspace.
Turn on “use nodes”.
Add a viewer node with shift+a –> output –> viewer.
Add the cryptomatte node from Matte –> Cryptomatte.
Connect the image output from the render layers node to the image input of the Cryptomatte node. Connect the “pick” output from the Cryptomatte node to the image input of the viewer node. Render the scene (keyboard shortcut F12).
You should now see different matte colors that identify different assets in your render layer. Use the + button to access the eyedropper tool and select as many assets as you need for the matte you are building.
To see the actual matte, you can plug the “matte” output from the Cryptomatte node to the viewer.
Now you have a matte that you can use in various way when you are compositing. As a simple example, you could color correct the matted area by combining two copies of the input image with the “AlphaOver” node while using the matte as the factor. Then simply drop a color correction node like RGB curves between the bottom image connection.
I have recently been doing hair renders in Blender and thought I would share some key tips that I have learned along the way:
- Use multiple particle systems. If you put all your hair in just one particle system, it becomes really tedious to edit the hair. You’ll end up combing hair that you didn’t mean to etc.
- Place the hair manually in hair edit mode (with the add hair brush). So set the initial amount to zero in the particle settings. Comb after every round of hair.
- Use simple children instead of interpolated, they are much easier to handle in the edit mode.
- To make the interpolated children more fluffy, increase the “radius” value.
- Be careful with the Path –> steps value, large values made my Blender crash.
- Use the Hair BSDF if you are rendering with Cycles. As of now that won’t work for Eevee so you’ll need to create your own shader for Eevee.
- Subdivide the roots of your hair in edit mode, because the hair needs more bend right where it comes out from the head. Also use enough keys when creating the hair strands.
For the first time in my career I encountered a video file that had two different resolutions. The beginning of the video was SD resolution and after 15 frames it jumped to a resolution of 1080p. VLC player was able to correctly switch the resolution during playback and it displayed the two different resolutions also in the codec information window. But Premiere Pro didn’t understand the file properly and never switched to the higher resolution portion of it. That was a problem because I wanted to use the high resolution in my edit.Continue reading “Dealing with a multiresolution .mov file”
Did you create some texture maps in Quixel and wanted to use them in Blender’s new EEVEE render engine? You plugged them into the principled shader but the outcome looked very different from what you had in the 3DO preview of Quixel? Maybe especially the metals looked way too dark and almost black?
Here is a simple workflow that seems to work pretty well between Quixel and EEVEE:
1. When you create your project, make sure you choose the metallness workflow.
2. Add your materials.
3. Export with the exporter into PNG files using the Metalness PBR (Disney) -preset.
1. Give your object a material with the principled shader.
2. Plug in the following texture map files into the following inputs in the principled shader:
-Albedo to base color
-Metalness to metallic (set node to non-color data)
-Roughness to roughness (set node to non-color data)
-Normal to normal map node and that to the normal input (set node to non-color data)
Now your metals and other materials should look pretty close to how they looked in Quixel 3DO.
In this video we show the steps needed for enabling GPU rendering for Blender in Linux Mint:
1. Enable the “auto tile size addon”. This will automatically optimise the size of your render tiles for best possible performance.
2. Set the Light Sampling Threshold in the render settings (under the sampling settings) to something other than zero. The greater you make this number, the faster the render (but with some sacrificed quality, especially in the darker shadow areas of the image). Here’s what the Blender manual says about that setting:
Probabilistically terminates light samples when the light contribution is below this threshold (more noise but faster rendering). Zero disables the test and never ignores lights. This is useful because in large scenes with many light sources, some might only contribute a small amount to the final image, and increase render times. Using this setting can decrease the render times needed to calculate the rays which in the end have very little affect on the image.
3. Use GPU rendering. This one is probably a no-brainer these days, but in case you are not familiar with the fact, using the graphics processing unit instead of the central processing unit can greatly speed up your renders. Set it in the preferences –> system –> cycles compute device to your graphics card (which hopefully has Cuda support) and the switch to GPU rendering in at the top of the render settings.
4. Use denoising and drop your sample amounts. The new denoiser let’s you get clean images even with lower sample amounts. Simply turn it on in the “render layer” settings and let it work it’s magic.
5. Use the “simplify” option in the scene settings. Just check the “simplify” checkbox and set the “AO bounces” and “AO bounces render” to 2.
6. Render in the background using the command line. It can really speed up Blender when the user interface doesn’t have to be updated/maintained while rendering.
To do this in Windows perform the following steps:
-Go to your Blender installation folder (probably inside C:\Program Files\Blender Foundation) and shift+right click the folder called Blender, the choose “open command window here” from the list).
-Type in the following string without the quotes:
“blender -b pathToTHeFileToBeRendered -a”.
Here’s what this command means:
“blender” starts up blender.exe,
“-b” starts it in the background,
“pathToTHeFileToBeRendered” should be replaced by the path to your actual .blend file, which you can easily copy-paste by shift+right-clicking on that file and choosing “copy as path” from the list,
“-a” means that Blender should render an animation.
-Hit enter to start the render
Now if you are like me and start using the background rendering possibility a lot, you might feel annoyed having to always browse to the Blender installation location first.
So here is a handy little batch file that does the work for you. Just double click on it and It will open the cmd-window and automatically enter the Blender installation folder at C:\Program Files\Blender Foundation\Blender. Now you can just type the rest of the commands and start the render.
Here’s the bat-file download (unzip first after downloading):