Received: with ECARTIS (v1.0.0; list ogl-sample); Mon, 06 Jan 2003 05:06:51 -0800 (PST) Received: from issun6.hti.com (sunmgr.hti.com [130.210.206.69]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id h06D6j3v022756 for ; Mon, 6 Jan 2003 05:06:45 -0800 Received: from issun5.hti.com ([130.210.202.3]) by issun6.hti.com (Netscape Messaging Server 3.6) with ESMTP id AAA3F06 for ; Mon, 6 Jan 2003 06:57:57 -0600 Received: from sggl1.bgm.link.com ([130.210.67.5]) by issun5.hti.com (Netscape Messaging Server 3.6) with ESMTP id AAA49F2; Mon, 6 Jan 2003 07:12:13 -0600 Date: Mon, 6 Jan 2003 08:42:23 -0600 (CST) From: "Stephen J Baker" X-X-Sender: Reply-To: To: Narendhar Rao cc: Subject: Re: 2D application development - performance related query In-Reply-To: <3E0AC2CF.EE359288@aquila.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 14 X-ecartis-version: Ecartis v1.0.0 Sender: ogl-sample-bounce@oss.sgi.com Errors-to: ogl-sample-bounce@oss.sgi.com X-original-sender: sjbaker@link.com Precedence: bulk X-list: ogl-sample On Thu, 26 Dec 2002, Narendhar Rao wrote: > I am an application developer intending to use OpenGL. > I understand OpenGL works with 3D geometry Only and all 2D geometry are > treated as 3D with z=0; Is this understanding correct? Yes. That's correct. > Is there any other API for 2D application development which is > performance wise better over OpenGL? No. OpenGL is hardware accellerated on all modern graphics cards and that hardware runs the same speed for 3D and 2D graphics. If there were a 2D-only API, it wouldn't be hardware accellerated and even if it were, it would just leave some of the 3D hardware unused. It wouldn't run any faster than OpenGL. > This is in the context of development of a viewer application for > display of semi conductor layout geometry containing millions of > polygons and all present on a 2D plane. Perfectly applicable to OpenGL rendering. You'll likely have lots of layers of geometry - and rendering that using the Z coordinate as the layer number would make a lot of sense. This is a case where using the 3D capability of OpenGL to do 2D rendering makes a lot of sense. ---- Steve Baker (817)619-2657 (Vox/Vox-Mail) L3Com/Link Simulation & Training (817)619-2466 (Fax) Work: sjbaker@link.com http://www.link.com Home: sjbaker1@airmail.net http://www.sjbaker.org