Path: utzoo!attcan!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!mintaka!yale!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!KARRON.MED.NYU.EDU!karron From: karron@KARRON.MED.NYU.EDU Newsgroups: comp.sys.sgi Subject: Re: Resetting lighting and retaining viewpoint Message-ID: <9011101653.AA04864@karron.med.nyu.edu> Date: 10 Nov 90 16:53:25 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron%CMCL2.NYU.EDU@cunyvm.cuny.edu Organization: The Internet Lines: 28 The ortho call does a hidden translation of the eye position. I was thinking of this problem, and the solution to my mind is to make a wrapper for the ortho call to eliminate the translation effect. This would be by instead of defining a viewing RECTANGLE, force it to be a viewing CUBE, and specify a height and width, not a left and right clipper, etc. I don't know how you would correct for a non square window. I would have to think about that for a few more seconds before I made a better suggestion. Please post your solution, as I do want to be able to switch transforms for these reasons: While a perspective transform looks better, an ortho is much better for sighting things along lines and taking measurements. I also have a better winopen() call idea, and when I get all of this working nicely, I will post it. dan. +-----------------------------------------------------------------------------+ | karron@nyu.edu (mail alias that will always find me) | | Dan Karron | | . . . . . . . . . . . . . . New York University Medical Center | | 560 First Avenue \ \ Pager <1> (212) 397 9330 | | New York, New York 10016 \**\ <2> 10896 <3> | | (212) 340 5210 \**\__________________________________________ | | Please Note : Soon to move to dan@karron.med.nyu.edu 128.122.135.3 (Nov 1 )| +-----------------------------------------------------------------------------+