Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Search the Community: Showing results for tags 'proximity'.



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. 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!
  2. 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