[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- 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: <firstname.lastname@example.org>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:17873
Christophe Marque (email@example.com) 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)
> <<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:
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.
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: firstname.lastname@example.org
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155