Nightingale Posted June 18, 2017 Share Posted June 18, 2017 (edited) Hey guys, I'm just getting into Houdini (have been working in comp for the past 6 years) and I need help with a most likely simple question. I have some geo in my scene that I scattered a lot of points onto. I'd like to only keep the points on the Y axis. Like imagine a camera above the character looking straight down. All the geo it sees should have points scattered on it and nowhere else. Do that make sense? Any help on this would be great! I am hoping to take these points into a particle sim and use them to drive a smoke sim. Thanks! Edited June 18, 2017 by Nightingale Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 18, 2017 Share Posted June 18, 2017 something like this ? I've set up 2 scenarios, one is Y facing (up) and the other is camera facing... facing_points.hipnc Quote Link to comment Share on other sites More sharing options...
Nightingale Posted June 18, 2017 Author Share Posted June 18, 2017 (edited) 24 minutes ago, Noobini said: something like this ? I've set up 2 scenarios, one is Y facing (up) and the other is camera facing... facing_points.hipnc Thanks for the response! Unfortunately the file you provided gives me a lot of errors. Ideally, I want to scatter points all over the geo. Then blast keep only the points that are looking up. I also wanted a ramp that I could control the Y falloff so I can keep some points that are not 100% looking up but close enough. Edited June 18, 2017 by Nightingale Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 18, 2017 Share Posted June 18, 2017 (edited) I'm using H16.0.633 Apprentice...(and yes there in a 'tolerance' in Y facing)...it's an extremely basic setup...I take it you're not using H16 ? Edited June 18, 2017 by Noobini Quote Link to comment Share on other sites More sharing options...
Nightingale Posted June 18, 2017 Author Share Posted June 18, 2017 I'm using H15.0.347 FX, it's from work over vpn I can use at home. I'm sorry that it's an extremely basic setup but as I said I am new to Houdini. Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 18, 2017 Share Posted June 18, 2017 I don't have H15 installed but here's the gist of it....I think you can replicate in 15...(you can see from the pic there's tolerance of 10 degs for the Y facing points...after that you can blast the group however you like) Quote Link to comment Share on other sites More sharing options...
Nightingale Posted June 18, 2017 Author Share Posted June 18, 2017 (edited) Okay I see what you're doing now. You use a group and use the normals section to create a group of points. When I do it, It'll create a group of 0 points when the "Spread angle" is less than 90 or it has all the points for a spread of over 90. Edited June 18, 2017 by Nightingale Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 18, 2017 Share Posted June 18, 2017 (edited) see my Init_N there ?....that's to initialize the Normals...now I'm not an expert myself so I can't say to you if it's critical or not...I just put it in to be safe... so in your case, below the pighead geo, initialize your Normals (points) with an Attrib Wrangle, put in it: @N = @N; see how that goes... (oh wait, let me chuck in a scatter and see how I go...) Ok, now that I've chucked in a scatter...the Init_N is crucial...before, I didn't have a scatter, my setup would still work......but with a scatter, the N must be properly initialized, otherwise it won't work. Edited June 18, 2017 by Noobini 2 Quote Link to comment Share on other sites More sharing options...
Nightingale Posted June 18, 2017 Author Share Posted June 18, 2017 5 minutes ago, Noobini said: so in your case, below the pighead geo, initialize your Normals (points) with an Attrib Wrangle, put in it: @N = @N; Thank you so much! This is exactly what I wanted. I can't thank you enough! Quote Link to comment Share on other sites More sharing options...
Noobini Posted June 18, 2017 Share Posted June 18, 2017 no worries...I'm learning myself 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.