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…

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:

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.