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

Home » Public Forums » archive » Animation
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: animation [message #40690 is a reply to message #9821] Mon, 23 August 2004 19:13 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mary T writes:

> I have more questions for you, if you don't mind...
>
> 1. I think I will need the loop to get the output images and insert
> them in the animation. The output images are produced from the flow3
> procedure.

Sigh...

Take the first XInteranimate command and put it *before*
the loop. And make the number of frames equal to the
number of files you have:

XInterAnimate, Set=[400,500,numFiles],/Showload

Take the last XInteranimate command and put it *after*
the loop.

Leave the middle XInteranimate command where it is.

Now you will be able to animate your output, whatever
it is. :-)

> Here is the code that I have been writting, but I don't know why it
> does not run at all, and it also does not show any error message.
> (note:I have the flow3.pro, the data files and my code in the same
> folder.)

I think we have covered this ground before. We are mostly
out of ideas here. But I *would* try setting up your 3D coordinate
system on the basis of the data values themselves, and not
the number of dimensions of the data arrays. I think that will be
more fruitful. :-)

Scale3, xr=[Min(Vx), Max(Vx)], $
yr=[Min(Vy), Max(Vy)], $
zr=[Min(Vz), Max(Vz)], $
AX=50, AZ=50

> 2. I would love to have an output window as the result that show in
> one of your procedures: fsc_surface. Meaning, that I could be able to
> rotate and zoom in the image. However, this is not a surface! Do you
> have any procedure that could do this for my images? This will be
> nicer than drawing a 3-D cube by myself. I tried the zoom command but
> it does not look nice either. And I tried the rotate keywords, but I
> have to change them every time and sort of guessing the angles....

Then you will have to re-write this program, which uses
commands that work in the *direct* graphics system, with
commands that work in the *object* graphics system. The
two systems are completely incompatible. I think, quite
honestly, you are quite far away from being able to write
an object graphics program. I think I would try to get
something working in direct graphics first. There will be
plenty of time to learn object graphics after you gain some
experience. :-)

Cheers,

David


Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Bug with object graphics, app_scroll and the mouse in 6.1 under Windows.
Next Topic: xinteranimate with PLOTS and FLOW3 output

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

Current Time: Sat Oct 11 14:38:57 PDT 2025

Total time taken to generate the page: 0.88007 seconds