From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 125D5BC6B for ; Mon, 3 Sep 2007 03:51:01 +0200 (CEST) Received: from sci.utah.edu (diego.sci.utah.edu [155.98.119.15]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l831oxmk030920 for ; Mon, 3 Sep 2007 03:51:00 +0200 Received: from [155.98.20.74] (account cscheid [155.98.20.74] verified) by sci.utah.edu (CommuniGate Pro SMTP 5.0.9) with ESMTPSA id 5627570 for caml-list@inria.fr; Sun, 02 Sep 2007 19:50:58 -0600 Message-ID: <46DB687C.60608@sci.utah.edu> Date: Sun, 02 Sep 2007 19:50:52 -0600 From: Carlos Scheidegger User-Agent: Thunderbird 1.5.0.13 (X11/20070824) MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] LablGL question References: <20070903.103741.77043601.garrigue@math.nagoya-u.ac.jp> In-Reply-To: <20070903.103741.77043601.garrigue@math.nagoya-u.ac.jp> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 46DB6883.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; lablgl:01 unboxed:01 buffer:01 buffer:01 caml-list:01 graphics:02 objects:02 garrigue:03 jacques:03 opengl:03 opengl:03 sci:04 vertex:05 vertex:05 vertices:06 > If performance is you concern, you can use GlArray.vertex to draw a > full array of unboxed vertices in one step. > > Jacques Garrigue Then again, if you really want to push vertices fast to a graphics card as fast as possible, you would want to store them in-card using some sort of recent OpenGL extension which does that, like vertex buffer objects: http://www.opengl.org/registry/specs/ARB/vertex_buffer_object.txt However, for most cases, this shouldn't be any faster than a GlArray.vertex call inside a display list... -carlos