Visual Cortex Lab Posted December 13, 2005 Share Posted December 13, 2005 I'm trying to use "fractal" on a selection of points (after a "ray" SOP to be clear) but fractal needs primitive as selection .. while i want to use the rayHitPoints group that comes out of ray SOP. I tried some groops SOPs but no luck.. any idea? thanks Quote Link to comment Share on other sites More sharing options...
sho Posted December 13, 2005 Share Posted December 13, 2005 "Point to Primitive Group" in GroupSOP doesn't work? Quote Link to comment Share on other sites More sharing options...
Visual Cortex Lab Posted December 13, 2005 Author Share Posted December 13, 2005 DOH! .... ... distraction.. damn distraction!!! ... thanks for making some light into my distraction ... didnt saw that. Quote Link to comment Share on other sites More sharing options...
Adam T Posted August 2, 2013 Share Posted August 2, 2013 I'm trying to select primitives on objects, picking them with a Ray SOP, and I'm having a similar issue to the OP, but the Group SOP's Convert Points to Primitives is only returning primitives from the ray source (input 1) and not the collision (input 2) geometry.. Attached is a simple example of my approach - I have a number of points with adjusted normals which I use as my Ray input, and an extruded tube as the Collision input. I'm guessing I'm missing a fundamental - any pointers? Thanks Raycasting.hipnc Quote Link to comment Share on other sites More sharing options...
j00ey Posted August 2, 2013 Share Posted August 2, 2013 You could do it with a Foreach SOP. scene file attached. I'm sure more experienced users will have a more elegant solution.. Raycasting_foreach.hipnc Quote Link to comment Share on other sites More sharing options...
Adam T Posted August 2, 2013 Share Posted August 2, 2013 Tim, you're a star, thank you very much. I've been drinking the wrong coffee (decaf), I completely missed passing over the prim numbers. Elegance can wait, this relieves brain pressure - cheers! Quote Link to comment Share on other sites More sharing options...
j00ey Posted August 2, 2013 Share Posted August 2, 2013 Hi Adam No problem - I just realised though, I forgot to subtract 1 again from prnum to get the correct primitive. The expression in the Group SOP should read `stamp("../../foreach1","FORVALUE",0) - 1` Quote Link to comment Share on other sites More sharing options...
Adam T Posted August 2, 2013 Share Posted August 2, 2013 All good, I caught it pretty much off the bat, though it took me a minute to figure to look in the ForEach -- I've been learning Houdini for years now it seems, and it's pretty tough to build up retention with the little time I can give it. So many things to remember... Thanks again! 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.