By
vi363R
in Modding Tools
Creating Hairworks with 3ds Max and Nvidia's hairworks plugin
Required tools
To download the Hairworks tools (plugin and distro) yourself from Nvidia, you'll need to make a free nVIDIA account and go to their website (link in the lists above)(filter on Hairworks). There you'll be able to download the required files. The website was not well behaving for me on Chrome and I got a popup with a missing page error, but in the end I found out that one has to press a green button 'I Accept' somewhere on the page.
I have also included the required Hairworks files (plugin and a trimmed version of the distro (without media and examples)) in the downloads here for your convenience.
3ds Max 2014 is available here on the KE website (link also in below list).
Nvidia Hairworks plugin for 3ds Max 2014 (required, also in downloads of this post)
3ds Max 2014 (required, uploaded by admin)***
Hook5 Extended (required, ploaded by admin)
A growth mesh (included an example .max file with a mesh that I prepared, including suitable armature, vertex groups and a combing mesh)
*** For downloading large files from Mega, I advise to create a free Mega account, install the desktop application, then, when you're about to download a file, select 'Save to cloud drive'. This will transfer the file to your own Mega drive, after which it will be synced to your local drive by the application.
Optional tools
Documentation and FurViewer.win64.exe can open apx files to preview the hair. it can also import collisions from one hair into another. run it from HairWorks-r1_2_1-15-distro-trimmed-vi363R\HairWorks\bin\win64, the zip is also
Nvidia Hairworks Hairworks 1.2.1 distro contains documentation and furviewer.exe (optional, also in downloads of this post)
Installing
Install 3ds Max, explained in that download
Install Hairworks plugin, straightforward
Install distro: not required, runs from the folder HairWorks-r1_2_1-15-distro-trimmed-vi363R\HairWorks\bin\win64, keep the folder where you like.
Install Hairworks in your game (if not done already): Explained here by Driver.
Training
I'll list up a few video's that got me going with hairworks, it's quite straight forward but there are a few steps that you need to know.
Nvidia Hairworks Tutorial (18 minutes)
Collisions (5 minutes)
hair and fur 3ds max tutorial (42 minutes, making long hair)
Time for action
When you got this far, it's time to start experimenting!
Open up the attached .max file and create hairworks. It has been prepared with a growth mesh and the body to use for collisions during combing. It already has a fur and hair modifier ready.
Nothing needs to be changed to the settings, only styling, then convert guides -> splines, create hairworks from the menu, select the splines, set the number of resample guides, I use something between 20 and 40, depending on the length of the hair. add sphere collisions and connected spheres. All the spheres will end up in the right place and offsets are the same in max as in the game (this took me a few days to fine tune)... then export and test! And that's it.
Export the apx to an existing hairworks file you have. (create a backup first)
Export settings: Export unit: 1, Enable advanced, Up axis: Y-up and Handedness: right handed
Outlook
I'm planning to make a full scale tutorial if needed. I realize that this is only 1 max file, and the real challenge was going from a custom growth mesh in Blender to max. That is a far more complex story, which needs proper documentation with screenshots, which I'll prepare in the future. It will give you complete freedom over growth mesh, so you can adjust to your liking and head mods.
Examples
33 downloads