Plugin Installation } 10Dvt>+
The hairfx plugin consists of the files hairfx.dlu, hairfxExport.h and hairfxRef.hlp. There’s also the CompShadow.dlo file which contains the standalone Composite Shadow Generator plugin. The MAX 7 and later versions of the plugin also include the files hairfx.mi and hairfx_mr.dll, they work as a connection to the mental ray renderer. There are no loading dependencies between any of the plugin DLL files, they can be loaded by MAX in any order. To install the plugin, all that needs to be done is put hairfx.dlu and CompShadow.dlo somewhere on the MAX plugin path, e.g. \3dsmax\plugins. Another option is to place them in a separate folder, e.g. \3dsmax\plugins\hairfx and add that folder to the [Directories] section of the \3dsmax\plugin.ini file, like this: @zPWu}&m
/+66y=`UJ
g=Qj9Z
[Directories] %Cm4a49FNi
hairfx=C:\3dsmax\plugins\hairfx [;tbNVZK
The mental ray connection files should be placed in the following folders: U8.DPRa
242lR0#aY
hairfx.mi -> \3dsmax\mentalray\shaders_autoload\include 1_<'S34
6idYz"P %
hairfx_mr.dll -> \3dsmax\mentalray\shaders_autoload\shaders U[Z1@2zLx
|E!xt6B
Another options is to place them in the include and shaders subfolders of the \3dsmax\mentalray\shaders_3rdparty folder, but in that case the following two lines should be added to the file \3dsmax\mentalray\shaders_3rdparty\3rdparty.mi : o>j3<#?
@0t,vye
link "shaders_3rdparty\shaders\hairfx_mr.dll" 03{e[#6
mi "shaders_3rdparty\include\hairfx.mi" $L;7SY?
Note that ONLY ONE of the two installations is needed (usually the easier one using \mentalray\shaders_autoload). DO NOT use both or you’ll get duplication warnings from mental ray. "rkP@ja9n
=X>?Y,
The hairfxExport.h file is supplied for 3rd party plugin developers who want to make their plugin communicate with hairfx, and hairfxRef.chm is the reference you are currently reading. You can make this reference available in the Help / Additional Help menu option in MAX by adding the following line to the [Help] section of the \3dsmax\plugin.ini file: 8<IOX
@YV-8;hO
[Help] OSsdB%bIu`
hairfx Reference=C:\3dsmax\plugins\hairfx\hairfxRef.chm ar>S_VW*
or whatever is your path to the help file. S,qsCnz