POV-Ray : Newsgroups : povray.binaries.scene-files : The Swarm Server Time
2 Sep 2024 22:19:24 EDT (-0400)
  The Swarm (Message 1 to 2 of 2)  
From: Spock
Subject: The Swarm
Date: 25 Aug 1999 10:04:28
Message: <37c3f7ec@news.povray.org>
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)

From: Spock
Subject: Re: The Swarm
Date: 27 Aug 1999 11:00:53
Message: <37c6a825@news.povray.org>
Found a bug in the swarm code (a joke, get it?)

Never mind.

A slight overlap in the ends of the splines might
cause objects to turn around in mid flight... not
good unless you expected it.

Attached is the replacement file.  Enjoy.

Spock <spo### [at] homecom> wrote in message news:37c3f7ec@news.povray.org...
> 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.


Post a reply to this message


Attachments:
Download 'spline3D.java.txt' (3 KB)

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.