Here is the source for the swarm posted to p.b.a a few
minutes ago. I generate the points using Java and then
display them with a simple POV program.
Note that I hand-coded a 3 dimensional vector class and
an interpolating spline class for this project. I will now
go looking at the Java3D package to see if I can pick up
something better and reduce the amount of custom poo...
There are some exciting yet undocumented relationships
between some of the control parameters in this stuff... I
hope you can figure it out.
Enjoy
ps: I have completely ignore any and all postings about
the "correct" way to indent code. Since I have been at
this for about 20 years now as my full time occupation I
am kinda stuck in my ways and actually like this strange
yet readable use of whitespace.
Post a reply to this message
Attachments:
Download 'Swarm3.pov.txt' (2 KB)
Download 'Swarm.ini.txt' (1 KB)
Download 'spline3D.java.txt' (3 KB)
Download 'vector3D.java.txt' (2 KB)
Download 'Swarm.java.txt' (4 KB)
|