Dome rendering

hi all, i’m making a project that will be projected onto the inside of a dome using Paul Bourke’s method that can be found here…
http://local.wasp.uwa.edu.au/~pbourke/projection/domemirror/

According to his FAQ, my video can be placed onto a mesh as a texture that needs to be pre-distorted so the image is corrected after the reflection from the sphereical mirror.

The FAQ is here:
http://local.wasp.uwa.edu.au/~pbourke/dataformats/meshwarp/

the dome is built and I’m waiting on the projector to test it.

I hope someone can tell me how to make the proper distortion to the mesh.

Or that someone has used this technique before.

Thanks!