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

Home » Public Forums » archive » IDL 6.2 IDLgrImage SUB_RECT and TILING
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL 6.2 IDLgrImage SUB_RECT and TILING [message #45970] Sun, 23 October 2005 16:37 Go to previous message
Robert Barnett is currently offline  Robert Barnett
Messages: 70
Registered: May 2004
Member
G'Day,

Has anyone been experimenting with the new properties available in
IDLgrImage?

I've been using the new image tiling features in IDL 6.2 for generating
fast and memory efficent slicing and animations. To render an animation
I store all frames from an animation sequence side-by-side in a single
image.
There is an (semi) explanatory diagram at
http://www.zipworld.com.au/~retsil/idl/news/slicing.png

I use the TILING keyword for extra efficiency. This is for when I only
want to compute frames as they are rendered and/or only cache frames
when graphics memory is available. In fact, this allows me to render
animation or slicing sequences which are larger than what can fit into
graphics memory.

When I want to animate, I move the current transfer matrix (CTM) so it
displays each frame in sequence. However, I would prefer to use the
SUB_RECT
property to crop the image display (a neat way to prevent the user
using a pan/zoom
tool to view adjacent frames), however, SUB_RECT does not behave in the
way which I would expect. Instead the SUB_RECT keyword deletes all of
my
cached tiles each time the property is changed. At the same time I get
floating point errors from the IDLgrWindow::Draw method.

Given the lack of documentation on the SUB_RECT property, what do you
think?
Bug or feature?

(Note: This has been lodged as an RSI Incident #197686)
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Overlay multiple filled contour plots?
Next Topic: Re: Reading various HDF files

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

Current Time: Fri Oct 10 00:08:17 PDT 2025

Total time taken to generate the page: 0.96127 seconds