Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!unido!zgdvda!boehmk From: boehmk@zgdvda.zgdvda.uucp (Klaus Boehm) Newsgroups: comp.sys.sgi Subject: Problems with mapw() in GL on Personal Iris Keywords: Silicon Graphics, 3D-Pick, GL (Graphic Language) Message-ID: <3238@zgdvda.zgdvda.uucp> Date: 6 Nov 90 16:07:08 GMT References: Silicon Graphics, 3D-Pick, GL (Graphic Language) Reply-To: boehmk@zgdvda.uucp Organization: ZGDV Darmstadt, FRG Lines: 23 Sender:Klaus BOEHM (ZGDV Darmstadt, Germany, Europe) I have a problem with the 'mapw()'-Function of the GL of the Personal IRIS machine. Problem is, that the function is executed, but the two points in the 3 dimensional wolrd surely do not fit to the mouse position given. In fact they biuld up a 3D-line, which dosn't really differ from the 3D- line, which can be build using the eyepoint and the viewpoint of the 'lookat()'-Function. Additionally, the two Points delivered from mapw() are always the same, they are independent of the mouse position, which, of course, they should not be. In my program I only use the perspective()- and the lookat()-Functions. The viewing object, which has to be passed to the mapw()-Function, gets the same perspective() and lookat() calls which I also use to render my data. The question is, if anybody out there has experience with using mapw(). Maybe there are certain circumstances under which mapw() works properly or could never work. It would also be great, if anybody could send a part of a sample Program to me. I am not able to use the pick()-Function. Hope to hear anything Klaus