danvenn Posted December 19, 2020 Share Posted December 19, 2020 Is there a way to distribute points on a line according to a ramp's density? I'm aware of the scatter node's density input , but that uses a random sample which isn't ideal for my use case. Quote Link to comment Share on other sites More sharing options...
Aizatulin Posted December 20, 2020 Share Posted December 20, 2020 Hi, here is a modification of an older file, which contains an numerical approach to calculate the inverse of the integral of a density function. I'm also looking for a better straightforward approach. line_density_approach.hipnc 3 Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 20, 2020 Share Posted December 20, 2020 (edited) Use Chops @symek Posted this longtime Ago ..maybe it can be Modified Better for this Purpose resample_chopOdforce.hiplc Edited December 20, 2020 by Librarian 1 Quote Link to comment Share on other sites More sharing options...
danvenn Posted December 20, 2020 Author Share Posted December 20, 2020 10 hours ago, Aizatulin said: Hi, here is a modification of an older file, which contains an numerical approach to calculate the inverse of the integral of a density function. I'm also looking for a better straightforward approach. line_density_approach.hipnc Thanks this is perfect - quite involved as you say. Something that can be turned into a HDA though. A good excuse to brush up on my calculus 2 hours ago, Librarian said: Use Chops @symek Posted this longtime Ago ..maybe it can be Modified Better for this Purpose resample_chopOdforce.hiplc Thanks for this, could you explain a little how this works? Struggling to make sense of it as I'm not often using CHOPs. Quote Link to comment Share on other sites More sharing options...
Librarian Posted December 20, 2020 Share Posted December 20, 2020 @danvenn Just Click on Show Help Panel 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.