Generation image sequences displacemap in cycles Mini-howto

If you need generate a displacemap in cycles you can put the camera in Orthographic mode, and adjust Orthographic size and resolution size adjust to your object and set this node material to the object So you can take a sequence of images from you displacemap:

And if you need create a z pass channel manually, put in Texture Coordinates, Camera mode:

You need test change Scale X and Location Z for configure ramp and flip ramp direction if is necesary.