I have created one sphere and I want to map onto it a texture map. But I want first to project my map texture to cylinder and then to sphere.
So I want to create a function which takes as parameter a 3D point from sphere and calculate a uv coordinate of this point using cylindrical coordinates. My guess is that I have to transform the spherical coordinates to cylindrical but I am not sure.
Is this possible and how can I implement it ?