Hi all
This being my first post here I would like to congratulate all the people involved (especially Stephen Schmitt) in making an outstanding product!
Now over to the purpose of this post.
I use 3D Studio MAX v.8 on a daily basis and wanted to take advantage of the 16-bit accuracy that WM provides. Since none of the formats in WM 1,2 outputs are directly usable in MAX, I have found a little workaround to convert the PGM format into a 16-bit Tiff or PNG(the option to output to PGN is for some reason grayed out…) using Photoshop CS and a free plug-in which can read PGM files.
Tutorial follows:
First off you output your height map for WM to the 16-bit PGM (ASCII) format.
Then you go this web site: http://www.richardrosenman.com/photoshop.htm
Press CRTL+F and type in “PGM” to scroll down to the PGM filter (it’s free).
Download it, unzip and put the file “pixmap.8bf” into your Photoshop plug-in folder.
Most likely it will be like this:
C:\Program Files\Adobe\Photoshop CS\Plug-Ins
You might want to make a folder called PGM and put it in there.
Open/start Photoshop. Press CTRL+N to open the dialog box for creating a new image.
Set the Width and Height in pixels the same as your output from WM.
Set Color Mode to Grayscale (since that PGM file contains no colors)
Set from 8 Bit to 16 Bit(because we want all the 16-bit goodness!)
Click OK to crate the empty image.
Now go to: Filter > Richard Rosenman > Portable PixMap Importer/Exporter…
Select the PGM file you outputted from WM
Once it’s in Photoshop you can save it as a TIFF or PNG.
Now it is ready to be used by 3D Studio MAX.
Make a plane primitive, switch over to the Mental RAY renderer and put your height map in the displacement map channel.
You can scale the height differences by simply adjusting the “Output Amount”, found at the bottom of the Bitmap parameters.
Good luck!