Jump to content

Search the Community

Showing results for tags 'rayhittest'.



More search options

  • 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
    • 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

Found 1 result

  1. I am trying to use rayhittest() in a snippet to test for intersections from a primitive to an arbitrary location. (A camera, a light etc) I have an example that works in SOPs in my .hip using intersect, however I need something that works at render-time. I have tried adding a scope to self, however, I am not sure if my syntax is correct. I have something like; dist = rayhittest(origin, ray, 0.05, 'scope', 'self'); If I bind dist to a hard coded value, I can see that something is coming out of the snippet. Any pointers? Any easier ways to do shader based intersections? Hip file attached Cheers, Aaron. rayPigs.hipnc
×