Platform: Win 8.1
IDL 8.3.0 Build id: 20131115
I'm loading in a loop several 2D data files using the SURFACE function to create a video. After 2-3 data files, the zoom amount changes randomly leading to the visible xrange and yrange changing. This is a real hassle as when i go to use copywindow, the images are not coincident, so you get a very jumpy video output as a final result.
Here is the initial surface setup
s1 = surface(data,lon,lat,grid_units=2,axis_style=0,aspect_Z=0.3,perspective=1,margin=0,buffer=0, $
texture_image = world_image, dimensions = [x,y]] )
world_image is a tiff image that could be anything, I've already extracted the correct subsection and it displays correctly.
I then set the spatial coords initially thru these reset commands, then a couple of specific scale/translation commands to get the right image.
s1.rotate,/reset
s1.scale,/reset
s1.translate,/reset
s1.scale,1.2,1.5,1
s1.translate,-.05,0,0,/normal
I'm cycling thru the loop using
s1.Setdata, data
and capturing the window with
a = oVid.Put(vidStream, s1.CopyWindow())
The change of image location is obvious in the Surface window. Is this the same problem that occurred last year with 8.2.3 with respect to clipping?
reference:
https://groups.google.com/forum/#!searchin/comp.lang.idl-pvwave/surface|sort:date/comp.lang.idl-pvwave/QyIsmeBZHQI/3ibXwCtKGdYJ
|