I want to map a grid to a sphere like this:

In other words, for every point (x, y) ∈[0,1] on the left, I need the (x, y, z) coordinates of the equivalent point on the sphere, between the -45º and +45º meridians on each axis. You can also think of the source coordinates as two angles such that:
phi = -45º + x * 90º
theta = -45º + y * 90º
The traditional latitude-longitude or polar formulas I've found elsewhere are of no use because the results they produce are only distorted along one axis. Any other suggestions?
