enquel Posted September 9, 2014 Share Posted September 9, 2014 Hello, I am not sure it is a proper subforum, but... I have this situation: I modelled a path using curves and sweep SOP. The curve is resampled with even segments, thus my path have them as well. The polys making my path are more or less rectangular. Next, I assign UVs to the path using UVTexture (Rows and Columns setting). Now, I want to know hot to do several things: 1. Have each rectangular segment of my path take up all UV space. 2. Have each rectangular segment of my path take one UV space, assigned by primitive number. 3. Have a UVs looking like a strip of rectangles, with my path segments falling to one of those strip parts based on a rule (like rand($PR)) Now, how to achieve that? Thank you Quote Link to comment Share on other sites More sharing options...
enquel Posted September 11, 2014 Author Share Posted September 11, 2014 Nobody know? Could someone please at least share a tutorial on procedural "UV modeling"? Thank you in advance! Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted September 16, 2014 Share Posted September 16, 2014 (edited) hi artur, you can create a grid based on the path´s number of primitives and then use the point positions of the grid as uv coordinates of your path. path_uv.hipnc Edited September 16, 2014 by donluco Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted September 16, 2014 Share Posted September 16, 2014 suitable tutorials on UVing while modeling are https://www.youtube.com/playlist?list=PLShEm1_z6_cyBOAKQSH2ck-enGSnovMjD and https://cmivfx.com/store/213-houdini-procedural-road-creation Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted September 16, 2014 Share Posted September 16, 2014 another way to max out UVs for each primitive is to convert vertex numbers to uv coordinates by an attribvop. if you disable 'modulo1' within 'attribvop1' you will get unique vertex coords for every primitive. path_uv2.hipnc 1 Quote Link to comment Share on other sites More sharing options...
enquel Posted September 17, 2014 Author Share Posted September 17, 2014 Thank you very much, this is exactly what I was looking for! Best regards Quote Link to comment Share on other sites More sharing options...
enquel Posted October 5, 2014 Author Share Posted October 5, 2014 I must say these files you provided are a great learning tool, thank you again! Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted October 5, 2014 Share Posted October 5, 2014 you are welcome! its nice to get some challenges in that field.. 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.