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

Home » Public Forums » archive » Re: Displaying three images simultaneously (using Object Graphics)
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: Displaying three images simultaneously (using Object Graphics) [message #46222 is a reply to message #46217] Tue, 08 November 2005 12:34 Go to previous messageGo to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
"Karl Schultz" <k____schultz@rsinc.com> wrote in message
news:pan.2005.11.08.19.05.56.672000@rsinc.com...

> I should point out that starting with IDL 6.2, IDL renders images using
> texture-mapped polygons, doing some of the steps above for you. Further,
> there is a new TRANSFORM_MODE property that will treat the image as a
> polygon during transforms, instead of just transforming the opposite
> corners and making a new 2D box from the new corner locations.

Well, how about that. Thanks for the tip, Karl. My new example would then
be:

im1=Obj_New('IDLgrImage', BytScl(BIndGen(3, 10, 10)), Location=[-10,10], $
Transform_Mode=1)
im2=Obj_New('IDLgrImage', BytScl(RandomU(seed, 3, 10, 10)), $
Transform_Mode=1)
im3=Obj_New('IDLgrImage', 255B-BytScl(BIndGen(3, 10, 10)), Location=[10,10],
$
Transform_Mode=1)
myModel = Obj_New('IDLgrModel')
myModel->Add, [im1, im2, im3]
XObjView, myModel

Another advantage of this is that we get away from the IDLgrPolygon texture
map's required use of image sizes that are a power of two (the images were
resampled to 16x16 in my previous example)

I see now that this whole issue is covered well in online help:

Programmer's Guides:
Object Programming:
Working with Image Objects:
Positioning Image Objects in a View

Cheers,
--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / +1-403-242-7398 / Fax: 241-7392
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Overlay multiple filled contour plots?
Next Topic: the strange case of readcol.pro in idl 5.6

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

Current Time: Sat Oct 11 10:18:54 PDT 2025

Total time taken to generate the page: 0.32797 seconds