Jump to content
CinnamonMetal

Direction Attribute from Color ?

Recommended Posts

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)

Share this post


Link to post
Share on other sites

since 17.5 you can also use Measure SOP to compute Gradient from attribute (in older versions you can use PolyFrame SOP)

Share this post


Link to post
Share on other sites

@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 ?

Share this post


Link to post
Share on other sites

Chris please give us the scene

Share this post


Link to post
Share on other sites

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.

 

 

Share this post


Link to post
Share on other sites
Posted (edited)

I have it figured out, I had to make some adjustments to the ray casting.

Edited by CinnamonMetal

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×