[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Xinteranimate
- Subject: Re: Xinteranimate
- From: davidf(at)dfanning.com (David Fanning)
- Date: Fri, 31 Dec 1999 14:05:03 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <946393294.441990044@news.u-psud.fr>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:17873
Christophe Marque (christophe.marque@obspm.fr) writes:
> I've some troubles with xinteranimate.
> I want to realize a short movie with a sample of images ( displayed with tvscl),
> overlapped by a circle.
> I used the following commands:
> << tvscl,img(*,*,i)
> <<plot_circle
> <<a=tvrd()
> <<XINTERANIMATE, FRAME = i, IMAGE = a
> Everything is OK except the color table behaviour. One
> image is correct (red table for example) but the next ist wrong (it looks like
> an overexposed photograph). Then the next one is correct and the next one is
> wrong etc....
> I have the same behaviour with other color tables (rainbow18 for example)
> I think the problem comes from the tvrd() function. Is there a solution?
I think the easiest thing to do is just avoid the
TVRD thing altogether:
tvscl,img(*,*,I)
plot_circle
XINTERANIMATE, FRAME = I, WINDOW=!D.Window
Another alternative is to do the TVRD thing, but
do it in the Z-buffer, where you are guaranteed
an 8-bit device.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155