cloudfx Posted September 20, 2012 Share Posted September 20, 2012 Is there a way to find point's position value by it's U and V value? Quote Link to comment Share on other sites More sharing options...
Annon Posted September 20, 2012 Share Posted September 20, 2012 Hmmm. You can get point position from primitives like this: Peak points slightly off surface (to give it some room), then in VOPs, use "intersect" on the inverse normal to get the primitive it hits and the uv position of the primitive, then using the "primitive attribute" you can get the world position of the point using the prim number and it's uvs. On a pure point basis I'm not entirely sure off the top of my head. Hope that helps a bit though C Quote Link to comment Share on other sites More sharing options...
zarti Posted September 20, 2012 Share Posted September 20, 2012 hi , what kind of geometry are you using ? where goes the final position value ? Quote Link to comment Share on other sites More sharing options...
Macha Posted September 21, 2012 Share Posted September 21, 2012 (edited) You need more information. U and V alone is not sufficient. The best you can hope for is to narrow the space your point is in. But UV's don't come alone and are usually generated by some procedure, so therein lies your solution but it depends on the specifics of your geometry. Edited September 21, 2012 by Macha Quote Link to comment Share on other sites More sharing options...
tjeeds Posted September 21, 2012 Share Posted September 21, 2012 Yeah it depends on what kind of uv's you are talking about, every polygon or nurbs surface has implicit uv's and like Christian said you can find position anywhere on the polygon with those coordinates and the primitive number. I'm guessing this is not what you're asking though, if you are wondering if you can use tesxture uv's, the ones that are stored as point or vertex attributes, then i think the answer is no. Consider that multiple points can have the same uv coordinate. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.