Plugin Installation {e~#6.$:
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: s;e%*4
`v?XFwnV`
iga.B
[Directories] yhm6%
hairfx=C:\3dsmax\plugins\hairfx u#!QIQW
The mental ray connection files should be placed in the following folders: K93L-K^J
n=Ze p{^
hairfx.mi -> \3dsmax\mentalray\shaders_autoload\include ^E~F,]dV=
+2xgMN6B@
hairfx_mr.dll -> \3dsmax\mentalray\shaders_autoload\shaders sU Er?TZ
8ShIn@|32
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 : {ooztC
Upw`|$1S
link "shaders_3rdparty\shaders\hairfx_mr.dll" Oh# z zo
mi "shaders_3rdparty\include\hairfx.mi" |PtfG2Ty?
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. 9U>OeTh(
@yM$Et5
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: +Tt.5>N
\&_pI2X
[Help] S=}1k,I
hairfx Reference=C:\3dsmax\plugins\hairfx\hairfxRef.chm p$=Z0p4%LL
or whatever is your path to the help file. !\VzX