Creating procedural dirt in 3DS Max with Mental Ray
Creating the material
Please note that scene scale can affect the shader’s output!
This is the basics of what we want to do:
Find all the edges of the objects, blend the two materials together – one is the clean material, the other is the rustdirt etc.
So we start off by making a Blend material, and name it “DirtBlend”.
Making the clean material
In the slot next to it, we insert a shader that we want as our clean shader. Let’s try a concrete shader from the Autodesk library.
(Industrial floor)
Go back to your dirt blend map, click and drag the concrete material from the material slot next to it, into Slot #1 in the blendmap, select “instance”.
This material will then be our clean material.
Making the dirt material
We then go in the third slot, and find a nice material for our dirt/rust.
I’ve selected:
Go back to the blend material, drag the rust on to slot #2, select instance.
You could also use the warp texture map (by John Burnett) to make the dirt mapa bit more irregular and therefore, realistic…
http://www.maxplugins.de/max2010.php?search=warptexture&sort=Author
You can’t use Warp because Dirtmap is a Mental Ray shader… there was/is a cool shader/modifier called Quickdirt for that, but it hasn’t been recompiled recently.
http://cuneytozdas.com/software/3dsmax/#QuickDirt
Couldn’t install this version of dirtmap in Max 2011.
Yes I edited the thirparty.mi etc…
isnt it working for max design 2012, cuz it says there is a syntax error when openin the max.
tried to install in max 2012 x64
gave me the error:
MI 0.0 error 121001: .shaders_3rdpartymentalray3rdparty.mi, line 18: syntax error
corrected after reading the3ds Max SDK Programmer’s Guide and Reference:
Full path to whom installed 3d max 2012 x64 in C:
link “C:Program FilesAutodesk3ds Max 2012mentalimagesshaders_3rdpartymentalrayshadersdirtmap.dll”
mi “dirtmap.mi”
Did anyone ever get the dirtmap to actually load?
I got the syntax error too, but solved it. The problem is the ” ” signs are different in your browser than they are in the 3rdparty.mi file:
link “dirtmap.dll”
mi “dirtmap.mi”
use these in stead:
link “dirtmap.dll”
mi “dirtmap.mi”
Hi guys, I can’t get the Dritmap to showup in my mental ray maps…
I haven’t recieved the error others have mentioned, but I did change my quote type as suggested.
3ds MAX 2010 64 bits.
Works fine. Thank you
Can’t get it to load. Tried the ambient occlusion shader with type as ‘inverted occlusion’, works great for dirt.
INSIDE THIS FOLDER:
C:\Program Files\Autodesk\3ds Max Design 2015\NVIDIA\shaders_autoload\mentalray
YOU’LL FIND 2 FOLDERS;
-INCLUDE
-SHADERS
COPY DIRTMAP.DLL TO THE SHADERS FOLDER
COPY DIRTMAP.MI TO THE INCLUDE FOLDER
RESTART 3DSMAX DESIGN 2015
this method should work on any version of 3dsmax or 3dsmax design providing you are inside the autoload folder of your installed version.
Works fine! (3ds max 2013) Thank you!