[comp.sys.sgi] Can mapw

lam@pioneer.arpa (Tony To Lam SLB) (01/27/88)

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!

.
.