comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Xinteranimate problem!!
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Xinteranimate [message #18385 is a reply to message #18211] Fri, 31 December 1999 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
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
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Updated CW_Field Replacements
Next Topic: Re: how to debug IDL with call_external?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 23:48:17 PDT 2025

Total time taken to generate the page: 2.07670 seconds