archz2 Posted August 2, 2021 Share Posted August 2, 2021 How can I select objects by colour and split them into different groups so that in the external render engine, I have different sets of geometry on which I can apply different material (3 in the attached file, currently) I downloaded the original file from this page. https://www.tokeru.com/cgwiki/index.php?title=HoudiniVolumes and made changes in the colour ramp of attribute vop titled 'Cd_ramp_by_sdf_depth'. However, now I'm getting only one colur. Vol_worms_curlnoise_v02_edited.hipnc Quote Link to comment Share on other sites More sharing options...
toadstorm Posted August 2, 2021 Share Posted August 2, 2021 The Partition SOP has a preset for grouping primitives based on their Cd attribute; check the dropdown presets on that node. 1 Quote Link to comment Share on other sites More sharing options...
archz2 Posted August 3, 2021 Author Share Posted August 3, 2021 (edited) I have added partition sop, chose the option of 'group by color', but it is not splitting up my geometry into various groups. Maybe it's due to the fact that the three colors haven't been applied as mentioned earlier? Vol_worms_curlnoise_v02_edited.hipnc Edited August 3, 2021 by archz2 Quote Link to comment Share on other sites More sharing options...
toadstorm Posted August 3, 2021 Share Posted August 3, 2021 (edited) The minimum and maximum values you were using to fit your ramp weren't a good input range for remapping your SDF values. I exported the sampled values to a temporary attribute ("test") and then used those values as the starting point for remapping. Once you have the color values working, the Partition SOP creates groups like you'd expect. Vol_worms_curlnoise_v03_toadstorm (1).hipnc Edited August 3, 2021 by toadstorm updated file 1 Quote Link to comment Share on other sites More sharing options...
archz2 Posted August 5, 2021 Author Share Posted August 5, 2021 I see. Thank you so much!! I'll take a deeper look at the SDF values and the ramp. One more query. How can I avoid the polywires crashing into each others and turning with noisy joints? Enabling or disabling 'prevent joint buckling' doesn't help. Quote Link to comment Share on other sites More sharing options...
Fenolis Posted August 6, 2021 Share Posted August 6, 2021 You can try several methods: - Fuse points - Measure Curvature and Polycut at tight corners - Run a loop over the lines before Polywire and use Ray to manage layering 1 Quote Link to comment Share on other sites More sharing options...
archz2 Posted August 6, 2021 Author Share Posted August 6, 2021 4 hours ago, Fenolis said: You can try several methods: - Fuse points Where exactly are you suggesting to fuse points in the workflow? I added fuse right after scatter but I'm still getting the same result. 4 hours ago, Fenolis said: - Measure Curvature and Polycut at tight corners - Run a loop over the lines before Polywire and use Ray to manage layering I don't know how to do that. What is the process to do it? Quote Link to comment Share on other sites More sharing options...
Librarian Posted August 6, 2021 Share Posted August 6, 2021 (edited) @archz2 You have Files on Cg-world Japan section Houdini Tutorials Houdini Cook Book Edited August 6, 2021 by Librarian Nam* Sectione Quote Link to comment Share on other sites More sharing options...
archz2 Posted August 7, 2021 Author Share Posted August 7, 2021 (edited) 16 hours ago, Librarian said: @archz2 You have Files on Cg-world Japan section Houdini Tutorials Houdini Cook Book Thanks for suggesting this resource. It's an extremely vast. I reached here on their page listing various chapters in their series of tutorials. https://cgworld.jp/regular/202107-hcb-114.html#related_Entries Can you point out to any particular tutorial that covers these two techniques? - Measure Curvature and Polycut at tight corners - Run a loop over the lines before Polywire and use Ray to manage layering Edited August 7, 2021 by archz2 Quote Link to comment Share on other sites More sharing options...
Librarian Posted August 8, 2021 Share Posted August 8, 2021 @archz2 Maybe you gonna find some useful stuff . Zeko.hiplc 1 1 Quote Link to comment Share on other sites More sharing options...
archz2 Posted August 11, 2021 Author Share Posted August 11, 2021 On 8/8/2021 at 9:43 AM, Librarian said: @archz2 Maybe you gonna find some useful stuff . Zeko.hiplc Thanks a lot for sharing this. Will definitely check it out! 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.