Rembrandt lighting by Xuan Prada

…with a touch of salt&pepper.

Just a simple test here.
I wanted to create a strong portrait lighting for this male subject. I thought on Rembrandt Light, one of my favourite lighting set-up.
Rembrandt light is great, I love that kind of lighting specially when you are shooting portraits on exterior locations, but I prefer other lighting set-ups for studio shots.

So, I did a couple of touches to create a darkish environment on the Rembrandt lighting set-up for studio scenes and achieve a more strong and dramatic portrait.

Find below some test which I did and some lines about the construction of this set-up.
Big thanks to the guys of Infinite-Realities for provide this great model.

I used a big soft box created with a portal light controlled by Kelvin temperature.
Then, I created a huge sphere wrapping all the scene, with a 16bit grey to white gradient to help Final Gathering to add soft environment light.
I also create a strong rim light to separate a little bit the subject from the background.
And finally to create more penumbra areas and strong feeling to the image, I put a light blocker close to the subject. With this basic geometry with a constant black shader the environment light created by FG is absorbed on the right side of the picture.

With this simple set-up my Rembrandt Light looks more dramatic, right?

  • This is my scene. Quite simple.
  • Take a look to the orthographic views to see the distribution of the lights and other elements involved on this set-up.
  • Some parameters below.
  • Some lighting study before touch the computer.
Blocking.

Blocking.

Some environment lighting added.

Some environment lighting added.

Blocking the environment light using a black panel.

Blocking the environment light using a black panel.

Testing displacement maps.

Testing displacement maps.

First test with SSS.

First test with SSS.

Some passes to play with. (environment light).

Some passes to play with. (environment light).

Main soft box.

Main soft box.

Rim light.

Rim light.

Reflection.

Reflection.

Final render.

Texturing for VFX film projects. Case study by Xuan Prada

These are the key points of an introduction lecture which I gave about texturing for VFX film projects.
We used different assets on the class but this is the only one which is not copyrighted and I can show here.
I created this asset specifically for this course.

Summary

- Check the model.
- Render a checker scene.
- Decide about the quality needed for the textures. Is it a hero asset?
- UV mapping.
- Organization methods.
- How many UDIM’s?
- Photo Shoot.
- What kind of lighting do I need?
- Accessories. (Color checkers, tripod, polarized filters, angular base, etc).
- Bakes. (dirt maps, dust maps, UVs, etc).
- Grading reference images. Create presets.
- Clean reference images for projections.
- Create cameras and guides in Maya/Softimage for projections.
- Adapt graded and cleaned reference images for projection guides.
- Project in 3D software or Mari. (Mari should be faster).
- Work on the projections inside Mari. (We can use Photoshop, Mari or both of them. Even Nuke).
- Create  a 16 bits sRGB colour textures.
- Test colour channel in the light rig.
- Create a 16 bits gray scale specular textures.
- Create a 16 bits gray scale bump textures.
- Create a 16 bits gray scale displacement textures.
- Create a 8 bits gray scale ISO textures.
- Look-Dev blocking.
- Import the light rig.
- Create a basic pass.
- Checker render (matte).
- Checker render (reflective).
- Create clusters.
- Block materials.
- Look-Dev primary.
- Set up diffuse.
- Set up specular and reflections.
- Balance materials.
- Look-Dev secondary.
- Set up bump.
- Set up displacement.
- Rebalance materials.
- Set up ISO’s.
- Look-Dev refinement.
- Rebalance materials if needed.
- Create material libraries.
- Render turntables.

My favourite V-Ray passes by Xuan Prada

Recently working with V-Ray I discovered that these are the render passes which I use more often.
Simple scene, simple asset, simple texture and shading and simple lighting, just to show my render passes and pre-compositing stuff.

  • Global Illumination
  • Direct lighting
  • Normals
  • Reflection
  • Specular
  • Z-Depth
  • Occlusion
  • Snow (or up/down)
  • Uvs
  • XYZ (or global position)

RGB

GI

Direct lighting

Normals

Occlusion

Reflection

Snow

Specular

UVs

XYZ global position

Slapcomp

Mari 2 Maya script by Xuan Prada

I was lucky enough to find this simple but effective script to import your Mari textures in to Maya in a really quick way.
It is a Python script created by Kushal Goenka.

Follow these instructions to install the script.

# Mari2Maya – PyMEL Script
# Written by Kushal Goenka ( Animation Maniac )
# kushalgoenka@gmail.com
# http://AnimationManiac.deviantART.com

# Description:
# This Script Automates the Process of Setting up given MARI Texture Patches
# into one Single Layered Texture in Maya.

# Setup:
# Copy Script to ‘\maya\2012-x64\scripts’ folder. ’2012-x64′ might by different.
# Source the Script. ( Script Editor > File > Source Script… )
# Call the Python Command: ‘Mari2Maya()’ (or add to Shelf)

# Requirements:
# Export textures from MARI with ‘$UDIM.extension’ at the end.
# For Example: $ENTITY_$CHANNEL_$UDIM.tif >> Castle07_color_1003.tif

# Instructions:
# 1. Drag Texture Files into Hypershade.
# 2. Drag Select all Imported Texture File Nodes in the Hypershade Work Area.
# 3. Run the Script. via ‘Mari2Maya()’ Let the Magic happen.

Download.

Basic displacement in RenderMan by Xuan Prada

  • Select the object’s shape node in the Attribute Editor and then go to Attribute -> RenderMan -> Add Sudvision Scheme. This will create a smooth surface.
  • Load your displacement texture in the Hypershade.
  • Play with the Alpha Gain and Alpha Offset to scale the image.
  • Alpha Offset should be half negative than Alpha Gain. So if Alpha Gain is 2 Alpha Offset should be -1
  • Drag the displacement texture on to the displacement material in the shading group attributes.
  • This will create a displacement node.
  • Select the displacement node and go to Attributes -> RenderMan -> Add Displacement Attribues.
  • Set the displacement bound to something similar to your highest displacement value.
  • If you are using ray trace rendering you need to add ray traced attributes to your displacement.
  • Select your shape node and go to Attribute -> RenderMan -> Manage attributes and select TraceDisplacement.
  • Turn the shading rate down to increase the quality of your displacement. You can add a RenderMan attribute to control this instead change the global render options, you’ll save a lot of render time.

Linear Workflow in Maya with Vray 2.0 by Xuan Prada

I’m starting a new work with V-Ray 2.0 for Maya. I never worked before with this render engine, so first things first.
One of my first things is create a nice neutral light rig for testing shaders and textures. Setting up linear workflow is one of my priorities at this point.
Find below a quick way to  set up this.

  • Set up your gamma. In this case I’m using 2,2
  • Click on “don’t affect colors” if you want to bake your gamma correction in to the final render. If you don’t click on it you’ll have to correct your gamma in post. No big deal.
  • The linear workflow option is something created for Chaos Group to fix old VRay scenes which don’t use lwf. You shouldn’t use this at all.
  • Click on affect swatches to see color pickers with the gamma applied.
  • Once you are working with gamma applied, you need to correct your color textures. There are two different options to do it.
  • First one: Add a gamma correction node to each color texture node. In this case I’, using gamma 2,2 what means that I need to use a ,0455 value on my gamma node.
  • Second option: Instead of using gamma correction nodes for each color texture node, you can click on the texture node and add a V-Ray attribute to control this.
  • By default all the texture nodes are being read as linear. Change your color textures to be read as sRGB.
  • Click on view as sRGB on the V-Ray buffer, if not you’ll see your renders in the wrong color space.
  • This is the difference between rendering with the option “don’t affect colors” enabled or disabled. As I said, no big deal.

Physical Sun and Sky and Linear Workflow by Xuan Prada

  • First of all activate Mental Ray in the Rendering Options.
  • Create a Physical Sun and Sky system.
  • Activate Final Gather. At the moment should be enough if you select the Preset Preview Final Gather. It’s just for testing purposes.
  • Check that the mia_exposure_simple lens shader has been added to the camera. And Check that the gamma is set to 2.2
  • Launch a render and you’ll realize that everything looks washed.
  • We need to add a gamma correction node after each texture node, even procedural color shaders.
  • Connect the texture file’s outColor to the “Gamma Correction” node’s value. Then connect the “Gamma Correct” node’s outValue to the shader’s diffuse.
  • Use the value 0.455 in the gamma node.
  • The gamma correction for sRGB devices (with a gamma of approximately 2.2) is 1/2.2 = 0.4545. If your texture files are gamma corrected for gamma 2.2, put 0.455 into the Gamma attribute text boxes.
  • If you launch a render again, everything should looks fine.
  • Once you are happy with the look of your scene, to do a batch render you need to put the gamma value of the lens camera shader to 1.
  • Under the quality tab, in the framebuffer options, select RGBA float, set the gamma to 1 and the colorspace to raw.
  • Render using openExr and that’s it.

Mari to Maya by Xuan Prada

Yes I know, make your Mari textures work inside Maya could be a bit weird specially if you never worked before with multi UV spaces.

I hope to give you some clues with this quick and dirty step by step tutorial.

I’m using the blacksmith guy from The Foundry who has 40 textures with 4k resolution each.

  • First of all check your model and UVs.
  • Export all your textures from Mari. You know, right click on the desired channel and export.
  • Now you can type the naming convention that you want to use. I like to use COMPONENT_UDIM.tif COL_1001.tif for example.
0003.png
  • Check your output folder. All your textures should have been exported.
  • Import your model in Maya and check the UV mapping. You need to understand how the UV shells are called inside Maya to offsetting your texture maps.
  • The default UV space is 0-0 the next one on the right will be 0-1 the next one 1-1 and so on.
  • Open the first texture map called COL_1001.tif in the hypershade and rename the image node to COL_1001 and the 2D placement node to UDIM_1001.
  • Do the same with all the textures.
  • Select all the texture nodes and open the attribute spread sheet.
  • Set the default color RGB to 0.
  • Select all the 2D place texture nodes and open again the attribute spread sheet.
  • Switch off wrapU and wrapV.
  • Type the properly offsets in the translate frameU and translate frameV.
  • Create a layered texture node.
  • Select all the texture images nodes and click and drag with MMB from an empty space of the hypershade to the layered texture node attributes tab. This will create one layer with each texture map.
  • Delete the default layer.
  • Set the blending mode of all the layers to lightnen.
  • Connect the layered texture to the input color of one shader of your election.
  • Repeat the whole process with all your channels. (SPEC, BUMP, DISP, etc)