X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 Feb 2008 05:04 PM by  anon
T3D keyword in TVSCL procedure
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
28 Feb 2008 05:04 PM
    I am trying to display a 2D image in a 3D space, using the TVSCL procedure. I set up a transformation matrix using the surface procedure and the save keyword, then call TVSCL with the T3D keyword set, but it seems to ignore the transformation matrix?

    Deleted User



    New Member


    Posts:
    New Member


    --
    28 Feb 2008 05:04 PM
    This is from the notes for the T3D keyword of TVSCL: "When used with the TV or TVSCL routines, the T3D and Z keywords are only honored when the DATA keyword is also set. Note also that when the T3D keyword is set, the X and Y arguments and the Z keyword position the lower left corner of the image, but do not change its orientation. Use the POLY_2D routine to warp the image into 3D space." That is not so easy to understand, but I believe that what it means to say is that one can use T3D to get an image to start "painting" at a transformed starting point. However, what is painted will be the complete picture always on the plane perpendicular to the EYE of the beholder. Transforming images and mapping them to other graphics objects is the kind of drawing task that is best done by IDL Object Graphics. James Jones
    You are not authorized to post a reply.