PDA

View Full Version : UVW Space of a poly to World transform


3rd Dimentia
03-12-2008, 05:13 AM
This question was asked over at scriptspot by someone else, but there was no answer. Is there a way to convert UVW space of a poly object to a worldspace transform?

I have a poly object that's facemapped, and I want to know where [.5,0,0] in UVW space of the poly is in worldspace coordinates. Is there a way to find this out?

Cheers,

Cg

JHN
03-12-2008, 09:22 AM
I don't know if it can be done directly... and it's very possible it would return multiple values.

What will probably work is copy the UVW channel to a geometry channel and shoot a ray in the middle of the object and get it's face and bary coords and translate that back to your object.

But it's not a trivial thing I think...

-Johan

CGTalk Moderation
03-12-2008, 09:22 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.