|
|
"DaSilvor" <das### [at] rariuscouk> wrote:
> I dont suppose there is any chance you might post the code for this, please?
No problem. Just wasn't sure it was that interesting, but here it is, complete
with RK 2, 4, and 8 (ouch!) and plenty of octree visualization with OpenGL.
It should compile with very minimal effort on Mac OS X or Unix/Linux. (On Mac
OS X you need the funny flag that's commented out in the Makefile for some
bugfix.) Windows? It should work in theory, but I'm not sure how to make it
compile with GLUT. If it doesn't work you can comment out the OpenGL stuff in
main.c and copy the integration from gldisplay.c over to main.c.
No warranty of course, but I hope someone can get something out of it. It's all
there, just DON'T BE AFRAID TO READ THE SOURCE AND THE README FILES!
http://rsreusser.googlepages.com/barnes_hut.tar.gz
- Ricky
Post a reply to this message
|
|