Jump to content

Search the Community

Showing results for tags 'nearest'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering
    • Compositing
    • Games
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Found 2 results

  1. Hey, I'm sure this has been asked numerous times, but I've looked through past posts and can't seem to piece together enough info. Trying to use point clouds to find the nearest point for each point, and then the nearest for the previous found point and so on. Want to create ordered points to connect with the add sop, based on the nearest points to each individual point - creating one curve from ordered points. I'm aware the sort sop can sort by spacial locality, but it behaves strangely (spatial locality to what?) would like to set this up in vops. Any help appreciated - ta.
  2. Flipping animation!

    Hi, I have a grid of maybe 1000 triangles which are coloured black. I colour a few points white and use a point cloud and solver to spread the white colour throughout the grid. My intention is that once the triangle primitive turns white it flips 180 degrees. The rotation of the triangle should be such that triangle appears to be rotating away from the white colour. The tricky part is that I can't be sure on which way (and therefore which axis) the triangle will need to flip. My thinking so far is this: Iterate over all black triangles (in vop sop or point wrangle) and find the nearest white point Find the two points within that triangle that are furthest from my found white point Set the vector of those two points as my rotation axis Flip triangle It seems fairly simple but i'm struggling a little bit, and its an interesting topic finding the nearest point with an attribute above a certain value. I've attached a simple hip file to illustrate what I mean (and a vop sop with a half baked idea!) Cheers, Mike flip_test_v1.hip
×