Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!whuts!mtune!rutgers!cmcl2!nrl-cmf!ames!pioneer!lam From: lam@pioneer.arpa (Tony To Lam SLB) Newsgroups: comp.sys.sgi Subject: Can mapw() be used in Mex? Message-ID: <4092@ames.arpa> Date: 27 Jan 88 02:07:49 GMT Sender: usenet@ames.arpa Reply-To: lam@nike.UUCP (Tony To Lam SLB) Organization: NASA Ames Research Center, Moffett Field, CA. Lines: 31 Hello: I have a question about the mapw() function in the iris gl library. Can this function be used in the mex window environment? If yes, how can one save and pass the viewport transformation matrix when calling mapw? I tried the following, but it did not work. winopen(); getmatrix(matrix); . . . makeobj(1); loadmatrix(matrix); << other transformations >> closeobj(); mapw(1,..........); Anyone have any ideas? Thanks! . .