Maps path management in 3d Studio Max

So are your projects a mess of missing files? Are you worried that opening an old scene will mean searching maps all over your backup hard drives? Lets try to organize our projects the right way! First of all structure your folders properly, here is how I set up mine. It is just a matter of preference, just try to be consistent, and to have a separate folder for the maps.

fodlers

Now what I constantly do when I’m working on a scene is drag and drop or merge different max files for furniture, props, trees etc. You will automatically import the object materials but not the maps, so if you render strait away you will miss the textures. What I like to do is use a free script called RELINK BITMAPS by Collin Senner. There are many that do the same thing but this is pretty simple to use. I binded the script on a hot-key and it saves me a lot of time searching for maps. I saved in it different paths where I usually store resources, models, maps, etc. You don’t have to be super precise, you can even use a whole hard drive as a search path, but of course the more specific you are, the fastest it is. Now after you saved your paths (it will remember them every time you use it) all you have to do is select them clicking “ALL” and “RELINK”. Pretty fast: 3 clicks in total. I do it very frequently, just to test different furniture etc, you are not saving anything to your proejct folder yet, just searching for the original map path.

relink_bitmaps

At this point, when your scene is all finished and ready to render your maps are still all over the places in your computer. This is pretty bad if you plan to open your project again in the future: you sould store all the files in the same project folder, in the proper subfolder. Again, there are several tools to do this, integrated in Max, but what I like to use is the “Bitmap / Photometric Path Editor” (Utilities>More>Bitmap/Photometric Paths).

bitmap_photometric_path1     bitmap_photometric_path
Here is the simple procedure:

  1. Click ‘Edit Resources..’
  2. Select all the files listed
  3. Click ‘Copy Files’
  4. Select the folder where your files are going to be pasted, the maps subfolder in your project folder (in my case ../PROJECT NAME\3d\maps\)
  5. Click ‘Strip All Paths’
  6. Select all the files again
  7. Click on the ‘…’ button near ‘Set Path’
  8. Select again your maps subfolder (in my case ../PROJECT NAME\3d\maps\)
  9. Click ‘Set Path’

Verify that everything is fine clicking ‘Select Missing Files’, if none are selected, you have successfully reorganized and relinked every single map and photometric file of your your scene!

Gamma and Vray

If you are following a tutorial on Linear Workflow, you’re probably struggling with options you are not able to find or that are different from the tutorial. Latest versions of both 3d Studio Max (2013-2014) and Vray (3.0) changed their default Gamma settings.

Are you wondering how to change Max Output Gamma setting?

old_gamma

Well this option is discontinued, as new versions of 3d Studio Max will automatically recognize the proper Gamma value from your images. You can leave everything as it is, or, if you want to set your vray to 2.2 gamma as many tutorials will tell you, you can follow the following instructions.

First of all, this is the new ‘Gamma and LUT’ tab from your ‘Preference Settings’ in Max:

gamma

1) Be sure that Gamma is set to 2.2. We will focus on Output Gamma later.

color_mapping

2) Be sure that your Colour Mapping mode is on “Color mapping and gamma” in vray rendering settings.

To have an explanation on these settings compared to the previous versions here an excerpt from vray help center:

Mode – this option replaces the Don’t affect colors (adaptation only) option from previous V-Ray versions. The possible valies are:
-Color mapping and gamma – both color mapping and gamma are burned into the final image. This corresponds to Don’t affect colors (adaptation only) set to off in previous V-Ray versions.
-None – neither color mapping nor gamma are burned into the final image. This corresponds to Don’t affect colors (adaptation only) set to on in previous V-Ray versions.
-Color mapping only (no gamma) – only color mapping is burned into the final image, but not the gamma correction. This is the default option.

Linear workflow – this option is deprecated and will be removed in future versions of V-Ray. 

 

frame_buffer

3) Be sure that sRGB button is OFF in your vray frame buffer window.

So now, how to export your renders in Gamma 1.0 and not 2.2?

4) You can either Override image Gamma as you save it..

override_gamma

OR.. you can change the Default output settings from the .ini file (don’t be scared, it’s easy!).

Go to C:\Users\(your username)\AppData\Local\Autodesk\3dsMax\2014 – 64bit\ENU\en-US\defaults\MAX and open CurrentDefaults.ini with Notepad. Now search for ‘Gamma’ in the text and change OutputGamma=2.200000 to OutputGamma=1.000000.

Save and enjoy!