syzmatrix Posted January 11, 2011 Share Posted January 11, 2011 Hello guys, I have a problem for quads polygon uv mapping, now I am designing an architecture with a lot of panels in diffent size and direction in space, and I want each primitive(face) of the quads textured with the same picture. So for each primitive,the uv points shoud fit into the whole uv window(both u,v is from 0 to 1 for each primitive). What should I do in order to get the result. Thanks in advance. I attach a simple file,but should treat the null object as the initial input geometry. thanks again. jiujiang_send.hip Quote Link to comment Share on other sites More sharing options...
majikal Posted January 11, 2011 Share Posted January 11, 2011 Hi ... i guess there are many ways to do that. (foreach sop) I did that once with python sop. otl is attached. Use uv_allOneZero sop. But be careful, my python code is for quads only. Quote Link to comment Share on other sites More sharing options...
majikal Posted January 11, 2011 Share Posted January 11, 2011 here is otl uv_perface.otl Quote Link to comment Share on other sites More sharing options...
anim Posted January 11, 2011 Share Posted January 11, 2011 try to not crosspost between the forums in such a short time here is vertex SOP approach http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=21363 Quote Link to comment Share on other sites More sharing options...
Macha Posted January 11, 2011 Share Posted January 11, 2011 (edited) Nice one Anim-Tamte-Thomas! I was fiddling with foreach there but you method is really beautiful. I attached my attempt. foreach.hipnc Edited January 11, 2011 by Macha Quote Link to comment Share on other sites More sharing options...
syzmatrix Posted January 12, 2011 Author Share Posted January 12, 2011 sorry, Anim-Tamte-Thomas,because the project is urgent, so I tried different forums. But all of you give great methods. I still wonder how the otl operates. python is really beautiful. thanks very much! Quote Link to comment Share on other sites More sharing options...
syzmatrix Posted January 12, 2011 Author Share Posted January 12, 2011 The really interesting thing is, I am using houdini in architecture panel design and solving Engineering problem. Funny, isn't it? Quote Link to comment Share on other sites More sharing options...
groovemeteor Posted January 26, 2011 Share Posted January 26, 2011 Cheers guys! This helped me too, 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.