Notifications
Clear all

[Closed] World UV to unit vector?

Would anyone be able to point me in the right direction to be able to figure out how to calculate a unit vector from world UV space? For example if I have values of U:.65 V:.45 how could I calculate where that would be in XYZ space if it was one unit from 0,0,0?

Thanks,

Cg.

4 Replies

Wouldn’t it just be. . .

normalize [.65, .45, 0.0]

or maybe I don’t understand the question.

Hi Jonlauf, yes you’ve slightly misunderstood the question. The U and the V relate to the lat/long position on a sphere like spherical (2d) UV mapping rather than worldspace (3d) UVW mapping. I should have mentioned spherical environment mapping in my first post to make myself more clear.

Cheers,

Cg.

Muchas gracias