Jump to content

Search the Community

Showing results for tags 'proximity'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering + Solaris!
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • 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

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Name


Location


Interests

Found 6 results

  1. Hi all. This should be easy, but it's killing me... I have a control object living outside a DOP network, a simple particle system. I've plugged it into the second input. Inside the DOP I access this control position without issue, in a VOP. However I then want to follow up by killing particles in a POP wrangle, based on distance to the control object... Easy right? Here's my vex: f@dist = distance(@P, v@opinput0_P); if ( @dist <= ch("threshold")) { removepoint(0,@ptnum);} ... simple. But it kills particles around the origin, not the control object, as if v@opinput0_P = {0,0,0} I've tried multiple variants on opinput, explicit path and the point function etc but it always gives me a "kill" radius around the origin, not the control object. Anyone see what I'm missing? Thanks in advance!
  2. Hi everyone! I have a very basic POP setup. The side with positive P.x belongs to group "right". With a "POP proximity" node I check nearest particle. My goal is to fins if particles from "left" have a nearest neighbour from group "right" and if they have color them red. In my opinion it should be simple. The nearest attribute gives you a number of a nearest point and you use it within "inpointgroup" to check if nearest belongs to this group. If it belongs color red the point that has a current nearest as its attribute.... But it doesn't work. I tried to put the same code in in a "geowrangle" but it wasn't working also there. (in general what's the difference between "popwrangle" and "geowrangle"???). I trief to solve the problem avoiding "inpointgroup" by assigning the attribute ntest to particles from the right and checking in popwrangle within "point(0,"ntest",npt)" if a nearest has the ntest attribute equal 1... but again things aren't working... Apparently "point" doesn't work that way in POPs or I use ot wrong... don't know..
  3. Hello, I have an issue connecting two sets of points the way I want. As it can be seen in the screenshot, I have two groups of points, one along a square and an other along a smaller square. They each have exactly the same amount of points and I want each of the point from the bigger square to be connected to one point of the smaller square. Any help is appreciated. Thx.
  4. Hi guys (and gals)! How can I split the scattered points of a geometry into three groups, depending on the scattered points position to three different objects? I have tried with point clouds, with nearpoints and everything I could imagine, but I can't seem to figure it out! It either relies on radius, or doesn't sort correctly. I also tried with the sort node but it really messes with my sopsolver which is used for the infection down the stream.. To better explain the situation, lets say I have the geometry I want to split scattered with 10 points, and the point targets I want to use as refs have 2, 4, 4 points respectively. How can I "sort" the scattered points to either belong to group 1, 2, or 3 explicitly, depending on the distance from the point targets? Each point should belong to one group and one group only. And the sorting only has to happen in the beginning of the sim, after that pop forces take over. If anybody has any idea, please, feel free to share! Thank you for your time, G.
  5. Hi All! I want to create a line from some randomly numbered points (see pic.) In order to use the Add sop the numbering must be ordered by proximity. Sort by Spatial Proximity does not work good! The numbering that it gives is ok at some areas and messed up in others. I cant use the Match topology sop because there isn't any geo I can use for that. So I guess I have to find an alternative way to do it. Any ideas? Thanks!
  6. I am trying to create a simple shader that maps the distance from an object to the red channel. I have a plane I assign the shader to. I have a torus converted to SDF. In the shader I convert P to world space, then use a "volume sample from file" to sample the rendered pixel from the SDF and feed the result to the red channel of my diffuse color. In order to specify the 'file', I use this code op:`opfullpath("/obj/geometry/OUT_SDF")` When I render i just get a black frame. The geometry is there cause i can see the alpha of the plane, but apparently nothing comes out from that "volume sample from file" node. I wonder if it's possible to fetch sdf data directly into a shader. I attached the hip file to illustrate my issue. p.s. I don't want to use an attribute transfer approach in SOP land cause I want to maintain the 'pixel' level resolution in my shader, and don't want to rely upon the resolution of my plane. Any idea ? proximity_shader_test.hip
×
×
  • Create New...