swarm-support
[Top][All Lists]
Advanced

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

Re: drawing pixmaps on rasters


From: M Lang / S Railsback
Subject: Re: drawing pixmaps on rasters
Date: Sun, 12 Jan 2003 12:13:45 -0700

Aris Alissandrakis wrote:
> 
> Hello,
> 
> In my swarm simulation, every agent has its own display and raster. For demo
> purposes,  I want to make some movies of simulation runs. I can capture each
> individual display into a pixmap and then get lots of png files to make
> movies of the events on each display, but I would like to somehow combine
> all the displays in one (bigger) display which I can then save and make a
> movie that shows what all the agents do at the same time...

This isn't answering your detailed question, but an alternative (you are
maybe already aware of) is to capture the entire screen instead of a
single widget. This is done by leaving the Pixmap's widget nil (skipping
the [aPic setWidget: ] message). You move all your displays so the
entire screen looks nice, then set your simulation running and capture
the whole business.

However, in Windows there was a problem that I am not sure ever got
entirely fixed. The pixmap would not get the right part of the screen
and add a black space at the bottom. You can work around this if you're
putting the movie in PowerPoint, etc. 

Steve

-- 
address@hidden
Lang, Railsback & Assoc.
250 California Ave., Arcata CA 95521
707-822-0453; Fax 822-1868

                  ==================================
   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]