[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: objects in loop
- Subject: Re: objects in loop
- From: Richard Adams <r.j.adams(at)bath.ac.uk>
- Date: Wed, 31 Jan 2001 17:10:54 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: School of Biological Sciences, University of Bath, UK
- References: <958m04$u1c$1@nnrp1.deja.com>
- Sender: bssrja(at)bath.ac.uk (Verified by Kerberos)
- User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23331
Hi Murray, I have done similar things to plot hundreds of cells moving
around in a 3D field. I use the following - convoluted - method. I derived
this some time ago, so it is perhaps not the most elegant solution..but it
works on my Macs. I define just once a set of orbs for my models and put
these into column 1 of an N by 2 object array. In column 2 I put symbols
with each object as their shape. That way each object could have its own
colour and shape. (If I change colour over time I change the orb colour.)
For each frame I make a polyline plot using these symbols, take an image and
paste it into a movie frame. That way you are not moving lots of objects
about and you create them just once. When all is done, the orbs get deleted.
Hope this helps.
Richard.
--
Richard J Adams }<}}}}°> e: r.j.adams@bath.ac.uk
MRC Senior Research Fellow t: +44 1225 826436
Developmental Biology Programme f: +44 1225 826779
Department of Biology and Biochemistry
University of Bath
Bath, BA2 7AY
UK