MohamedSakr Posted July 25, 2013 Share Posted July 25, 2013 well assume I got an object which consists of 10 planes , each one at a different height (1,2,3,4,5..10) they are randomly animated in the x direction, so at some time they may be on the same"vertical" column, and some time they are totally away from each other what I want is to cast a "ray" from the bottom plane"for example" and detect how many faces that ray has passed through any idea? as I'm still new to houdini thanks in advance Quote Link to comment Share on other sites More sharing options...
ikarus Posted July 25, 2013 Share Posted July 25, 2013 You could do an intersect inside of a for loop, piping the 'hit' location to the next iteration for the ray origin, as well have have a counter so you know how many times it hit something. Quote Link to comment Share on other sites More sharing options...
MohamedSakr Posted July 25, 2013 Author Share Posted July 25, 2013 explain more please about this , I understand a part of what you mean, but not sure which nodes to use Quote Link to comment Share on other sites More sharing options...
MohamedSakr Posted July 28, 2013 Author Share Posted July 28, 2013 up, any idea how to do it with ray sop? or vop sop ? Quote Link to comment Share on other sites More sharing options...
ikarus Posted July 28, 2013 Share Posted July 28, 2013 vops only, much faster raymarch.hip Quote Link to comment Share on other sites More sharing options...
MohamedSakr Posted July 28, 2013 Author Share Posted July 28, 2013 thanks a lot !! really appreciated your effort , will learn a lot from it thanks again for your time Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.