Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!mcnc!kajihara From: kajihara@mcnc.org (Scott "Lord of Sith" Kajihara) Newsgroups: comp.sys.sgi Subject: Resetting lighting and retaining viewpoint Keywords: Ortho vs. Perspective projection Message-ID: <2693@speedy.mcnc.org> Date: 10 Nov 90 14:15:54 GMT Organization: MCNC; RTP, NC Lines: 17 We have programs that switch between the orthogonal projection mode and the perspective projection mode to view objects. When using ortho or window, the viewpoint is reset to looking down the z-axis. We have the following problems to solve: retaining the same viewpoint when switching from ortho to perspective to ortho projections as one case and resetting the lighting behind the viewpoint when the viewpoint is changed as a second case. Is there any simple way using the defined Model/View and Projection matrices to do this? Thank you, Scott Kajihara -- Scott Akira Kajihara "Insanity is a prerequisite for physics techie-types" mcnc!kajihara kajihara@mcnc.org mcnc!{pyvax|pymvjb|pysgjb}!kajihara kajihara@{pyvax|pymvjb|pysgjb}.nscu.edu kajihara@ncsuphys.BITNET _et al._ of which I am not aware.