Jump to content
hopbin9

Can this be done in Houdini?

Recommended Posts

Wow, that's very cool. Show us how to do it!

Oh my, what has my big mouth gotten me into this time.. :)

Then again, that might be a nice case for checking out scipy/numpy...

Share this post


Link to post
Share on other sites

Hi eetu any chance you could shed some light on the volume method you were speaking of

 

Oh my, what has my big mouth gotten me into this time.. smile.gif

Then again, that might be a nice case for checking out scipy/numpy...

Hi eetu, any chance you could shed some light on the volume method you were speaking of?  I tried to implement a pop wrangle method of the nbody equation but don't think its working properly. and anything over about 300 particles is very slow. If you could share that would be great as I would like to try and mix the solutions.

Share this post


Link to post
Share on other sites

Here's the volume accelerated version - beware, it's a bit of a hacky mess. It does the write-to-disk-and-read trick, so you'll have to fix the paths.

 

Also, looks like it errors on H13, maybe because of the pops in dops changes..

 

eetu.

 

vol_gravity_v036.hip

  • Like 1

Share this post


Link to post
Share on other sites

Thanks eetu I got this to work in h13 adapted it to work in the new dops.  I also added in a python sop which allows you to read in point cloud data such as the data from the dubinski model.  Although the files do need to be converted to txt format with proper spacing which i've also included. as eetu stated you will need to update file read and write nodes.  I would like to continue the work on this for close particle interaction if anyone else has any ideas please feel free to add.

dubinski.txt

stars.txt

NBody_Gravitation.hip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×