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

Home » Public Forums » archive » Re: Rotate an image using objects
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Rotate an image using objects [message #24484] Wed, 04 April 2001 09:05
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Daniel Sage (daniel.sage@epfl.ch) writes:

> We try to do geometric transformation a 2D flat image (e.g
> findgen(128,128)) including in a model.
> It works fine with the translation (mymodel->Translate) and scaling
> (mymodel->Scale) but
> it doesn't for the rotation (mymodel-> rotate). Our goal is to rotate
> the image at the center of image.
>
> Anyone has an idea why it doesn't work.

You will have to ask RSI why object images don't rotate,
but they don't. To rotate them, you will have to use a polygon
object and put the image into the polygon as a texture map.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Rotate an image using objects
Next Topic: IDL vs. Matlab ?

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

Current Time: Wed Oct 08 11:34:58 PDT 2025

Total time taken to generate the page: 0.00457 seconds