Hey there guys, I'm very stuck trying to aquire UV cords of a plane related to a world space position.
I have a plane that has an animated grey scale ramp applied to it. I have simple cubes randomly placed over the plane. Using the colorAtPoint node, I can query the plane for the alpha value of that UV coordinate. But I'd like to know what the UV coordinate of the point where each box is positioned to query that UV for the colour information. LeonTheProfessional started a thread titled - GetPointAtUV problem. Is there anyway to have a reverse of that method to get a UV point based on a worldspace vector? (cube.x, plane.y, cube.z) I can't find the solution via maya's mel commands, so I feel I need to use the API to achieve this, however I don't know how to do it or where to look. Thanks for any help you can give me, it will be most appreciated. --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
