CinnamonMetal Posted April 10, 2020 Share Posted April 10, 2020 How do I create a direction vector attribute from color (Cd.r) ? Quote Link to comment Share on other sites More sharing options...
Noobini Posted April 10, 2020 Share Posted April 10, 2020 isn't it just set(some float, some float, some float) ? put the @Cd.r whereever you like...it's just a float (@Cd is a vector tho) Quote Link to comment Share on other sites More sharing options...
Librarian Posted April 10, 2020 Share Posted April 10, 2020 I think that you want slope direction Hope it helps . tamte file and Indipixel.. I use 16.5 ts_slopedir_with_noise.hip Slope_Distribution_Files.zip Quote Link to comment Share on other sites More sharing options...
anim Posted April 10, 2020 Share Posted April 10, 2020 since 17.5 you can also use Measure SOP to compute Gradient from attribute (in older versions you can use PolyFrame SOP) Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 10, 2020 Author Share Posted April 10, 2020 @Librarian Except when I attempt to use a Ray sop, along with a point sop, the point doesn't cast onto the attribute from your scene ? @anim Similar issue, I'm getting values using the measure sop, set to gradient; but, the ray sop doesn't case what I want to the geometry in this case for example, a point ? Quote Link to comment Share on other sites More sharing options...
Librarian Posted April 10, 2020 Share Posted April 10, 2020 Chris please give us the scene Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 10, 2020 Author Share Posted April 10, 2020 Fluid_Liquid_Sphere.hipnc Quote Link to comment Share on other sites More sharing options...
6ril Posted April 10, 2020 Share Posted April 10, 2020 eeerrr.... some weeeird things going on in that file, or is it me >? the pointwrangle1 and delete is such a messy way to just delete points with positive red values !!! Am I missing something there ? That for loop to compare a color channel with an integer .. uh??? O_o Guys I'd be interested to know if I'm not getting it, really. Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted April 10, 2020 Author Share Posted April 10, 2020 (edited) I have it figured out, I had to make some adjustments to the ray casting. Edited April 11, 2020 by CinnamonMetal 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.