Date: Wed, 10 Jan 2001 12:01:31 +0100 To: Chris Hecker Cc: Sven LUTHER , lablgtk at kaba.or.jp Subject: Re: ortho viewing (was Re: resize event?) Message-ID: <20010110120131.A2113 at lambda.u-strasbg.fr> References: <4.3.2.7.2.20010105002151.00baf5c0 at shell16.ba.best.com> <4.3.2.7.2.20010105002151.00baf5c0 at shell16.ba.best.com> <20010109185300.A888 at lambda.u-strasbg.fr> <4.3.2.7.2.20010109125548.00bb5a90 at shell16.ba.best.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4.3.2.7.2.20010109125548.00bb5a90 at shell16.ba.best.com>; from checker at d6.com on Tue, Jan 09, 2001 at 01:04:39PM -0800 From: Sven LUTHER Sender: Sven LUTHER On Tue, Jan 09, 2001 at 01:04:39PM -0800, Chris Hecker wrote: > > > - the glarea being 600x400, this gives me an non-orthogonal view, which > > don't have correct 90° angles. > > You need to work the aspect ratio into your orthographic projection. I've attached a simple sample app that works with labltk and lablgl so you can see how it works. It draws a unit triangle that should look isoceles on the screen. > Thanks for the answer, will be trying it out. That said i tried to do some hand ratio setting without much sucess, but surely i did something wrong. Friendly, Sven Luther