View Full Version : pointPosition on poly uv's

01-17-2008, 07:47 PM
Is it possible to find world space position from a uv coord on polys?
you can it on a nurbs object
pointPosition nurbsCylinder1.uv[1.79][4.79];
// Result: -0.811743 0.796932 -0.583178 //

any help appreciated



01-18-2008, 07:26 AM
In uv texture editor you can convert selection from uv to vertex, so try to see what it does in script editor. Use that command, and then add command for getting world position from vertex (sorry I don't have maya on laptop, so I can't tell exactly)

01-18-2008, 08:14 AM
you could also create Hair on the poly mesh. Then delete everything from the hair system except one follicle. Select that one follicle and look in the channel box or attribute editor - the follicle shape node takes a UV position and the follicle transform node returns that position in worldspace.

CGTalk Moderation
01-18-2008, 08:14 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.