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

Home » Public Forums » archive » Re: Write gif images
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: Write gif images [message #9902] Sat, 13 September 1997 00:00
sawchuck is currently offline  sawchuck
Messages: 1
Registered: September 1997
Junior Member
Horacio,

this should work:
.
.
.
for i=0,nframes-1 do begin
t3d,tr=[-.5,-.5,-.5],rot=[0,360./nframes,0]
t3d,tr=[.5,.5,.5]
tv,polyshade(v,p,/t3d)
;
img = tvrd()
tvlct,rv,gv,bv,/get
filename = strtrim(i,2) + '.gif'
write_gif,filename,img,rv,gv,bv
;
endfor

Bill

In article <3419E5F9.24DD@astroscu.unam.mx>, horacio@astroscu.unam.mx
says...
> I rotate some data with this routine:
>
> scale3,xrange=[0,s(1)],Yrange=[0,s(2)],zrange=[0,s(3)],ax=-2 0,az=10
>
> nframes=30
> for i=0,nframes-1 do begin
> t3d,tr=[-.5,-.5,-.5],rot=[0,360./nframes,0]
> t3d,tr=[.5,.5,.5]
> tv,polyshade(v,p,/t3d)
>
> endfor
> end
>
>
> but now i want make a gif image for each time the data rotates,
> Some advice?
>
> ____________________________________________________________ _______
> Horacio Palomino
> horacio@astroscu.unam.mx
> Astronomy Institute, UNAM, Mexico.
> ____________________________________________________________ ________
>
[Message index]
 
Read Message
Previous Topic: Re: Source code for TRIGRID, TRIANGULATE
Next Topic: Q: Ascii_template?

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

Current Time: Sat Oct 11 11:52:53 PDT 2025

Total time taken to generate the page: 0.88411 seconds