swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Q:SIM_AGENT - like displays with SWARM?


From: Jan Kreft
Subject: Re: Q:SIM_AGENT - like displays with SWARM?
Date: Tue, 13 Apr 1999 15:07:48 +0100 (BST)

On Tue, 13 Apr 1999, Eric Werk wrote:

> Have you seen the movies made with the SIM_AGENT package? Take a look:
> 
> http://www.cs.bham.ac.uk/~axs/cog_affect/sim_demo/sim_movies.html
> 
> I think they look rather nice, I like the way the agents moved in
> continuous space and were represented by easily-identifiable characters.
> I was wondering how to make a similar graphic output with the SWARM
> system, for my agents. 
> 
> Has anybody done anything like this?
> Are there tools in the SWARM GUI library for this?
> Is Tk/Tcl able to do this kind of thing?

Hi Erik,

this may not be what you want, but I've begun to do the following:

Save position, size, label, whatever, of every agent every n steps into
file #n, in a suitable format.

Load those files into POV-Ray and render bitmaps of the scenes with your
agents. The labels of the agents should correspond to texture definitions
like make agent foo a red sphere etc.

>From the stack of bitmaps thus obtained, make a movie.

This procedure is very flexible, e.g. poss also for 3D, and the rendering
is done after the simulation only when you need it.

Just a thought,

Jan.

Jan Kreft                               Phone +44 (0)1222 876036
Cardiff School of Biosciences           Fax   +44 (0)1222 874305
Cardiff University                      E-mail address@hidden
PO Box 915, Cardiff CF1 3TL, UK



                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]