[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swarm-Support] 3-D Representation
From: |
Paul E Johnson |
Subject: |
Re: [Swarm-Support] 3-D Representation |
Date: |
Wed, 16 Jul 2003 17:35:34 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030618 |
I was freaked out there for a minute. I thought you meant somebody
produced that 3d picture "graph.gif" with Swarm. The 3dlib you refer to
implements positional record keeping, but does not do any of the work
of drawing the image onto a beautiful picture.
Has anybody used Swarm to make a 3d picture?
It seems to me that drawing a 3d picture like that during a simulation
would make it really slow, wouldn't it? If you run a program to draw a
picture like that from a dataset, it is usually not speedy...
Makes me wish there were a blt 3d component we could hook up.
If this were my project, I would be inclined to say that the simulation
should be in Swarm, but you should output the positional data and make
the beautiful 3d picture with some other program that is intended for 3d
pictures. I have a really great commercial stat package called S+ that
can do that, and its free cousin R can do it, but not so easily. I saw
some great graphs of that sort in a SAS presentation lately.
Mrinal Singh wrote:
Hi
I am refering to 3dLib-0.1.tar.gz. I am attaching the readme file of the 3d
demo. I am also attaching gif of the kind of representation I am looking
for.
regards
3dDemo App
This is a *very* simple demo to illustrate usage of the Discrete3d
class. It fully implements and uses a 3d discrete space. The code is
commented only in places where using this space would be different
from how a Discrete2d might be used. Hence, if you see a piece of
code in this demo that you don't understand and is not commented, you
will find very good explanations in one of the other demos. The
comments of interest begin with "// 3d-specific:".
--
Paul E. Johnson email: address@hidden
Dept. of Political Science http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas Office: (785) 864-9086
Lawrence, Kansas 66044-3177 FAX: (785) 864-5700