Search the Community
Showing results for tags 'pcfind'.
Found 3 results
tomoyaorwoff posted a topic in ScriptingI got an array of point numbers int searchPts = [0, 1, 2, 3] that I want to pass into the pcfind function as a ptgroup so it only operates on those points. How do I convert this to a string of "0 1 2 3"? Is this how I should even approach it? pcfind(<geometry>geometry, string ptgroup, string Pchannel, vector P, float radius, int maxpoints) Thanks!
Hey everyone, just starting out with Houdini and trying to wrap my head around some effects I can produce, but I've hit a big of a snag when it comes to using a solver SOP on my animated model. The idea is that the model will be falling through the sky, and whenever a part of his body passes through some cloud, that part of the body will dissolve into cloud as well. So the the cloud points will trigger the body points whenever they get close enough. I'm using a solver SOP, having the points in the clouds use a PCFind node to trigger an attribute change in the points in the model. However, I have an issue when choosing the Import style for the solver's Prev_Frame. If I use Fetch Geometry from DOP Network, the model's animation freezes (in and outside of the solver) and nothing can proceed. If I use Transform Input Geometry, the animation resumes, but nothing seems to solve from the previous frame. I've attached a version of the file that has the some limited success in making the body dissolve, but the points snap back to the falling body as soon as they exit the cloud, and I have no idea how to proceed. Any clues on how to approach this problem would be greatly appreciated! CloudDive.zip
Hello, I am trying to do some edge detection using a kernel. I need to do this using standard SOPs/VOPs. http://setosa.io/ev/image-kernels/ I saw a tutorial from Entagma (https://vimeo.com/169437381) that basically does the operation by hand splitting out the vectors and multiplying them but it's quite tedious and you dont really know what vectors you're multiplying (QUESTION: is there an order in which pcfind returns the array of points eg. clockwise closest to furthest ?) Is there a better way (using actual matrices / knowing exactly which points) ? thanks!