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=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 78C70BC69 for ; Thu, 5 Jul 2007 15:51:54 +0200 (CEST) Received: from mail22.bluewin.ch (mail22.bluewin.ch [195.186.19.66]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l65Dpskb021522 for ; Thu, 5 Jul 2007 15:51:54 +0200 Received: from [10.0.1.2] (85.2.25.144) by mail22.bluewin.ch (Bluewin 7.3.121) id 467A64C40031262B for caml-list@yquem.inria.fr; Thu, 5 Jul 2007 13:51:53 +0000 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <200707051352.24760.jon@ffconsultancy.com> References: <002501c7be76$d0348630$ac01a8c0@johnyaya> <200707050405.12031.jon@ffconsultancy.com> <1F16F766-1C00-4C69-9154-9A2A1528FB5C@epfl.ch> <200707051352.24760.jon@ffconsultancy.com> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <361D6E79-9122-4F39-86D1-F86575D2229C@epfl.ch> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?Daniel_B=FCnzli?= Subject: Re: [Caml-list] ANN: Chess III Arena 0.5 Date: Thu, 5 Jul 2007 15:52:23 +0200 To: caml-list@yquem.inria.fr X-Mailer: Apple Mail (2.752.2) X-Miltered: at concorde with ID 468CF77A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bunzli:01 buenzli:01 caml-list:01 epfl:02 objects:02 daniel:04 daniel:04 0.5:94 anyway:05 ecrit:06 load:09 i'm:09 object:09 object:09 thus:10 Le 5 juil. 07 =E0 14:52, Jon Harrop a =E9crit : > Anyway, you can use texture objects by supplementing texture.ml with: [...] By the way I'm not sure how your code gets called but I think that =20 the first time you'll load the texture is when the display list is =20 created, so it's this command that will be retained (along with the =20 creation of a texture object) and not the _use_ of a texture object. =20 Thus you should first "activate" all textures once and then generate =20 the display lists. No glTexImage2d call during the display list =20 creation ! Daniel