Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ANN: Chess III Arena 0.5
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Grant Olson <olsongt@v...>
Subject: RE: [Caml-list] ANN: Chess III Arena 0.5
> From: 
> [] On Behalf Of Jon Harrop
> let draw_md3 =
>   let m = Hashtbl.create 1 in
>   fun x y ->
>     try m (x, y)) with Not_found ->
>       let list = GlList.create `compile in
>       draw_md3 x y;
>       GlList.ends();
> list;
>       Hashtbl.add m (x, y) list
> This simply memoizes the rendering of each frame of animation 
> for each model in a display list. The result is that your 
> geometry is stored on the graphics card and rendered 
> directly, hence the gratuitous speedup.

Thanks.  I'll give it a try.  I'm wondering if it will have any performance
impact for the software rendering on my linux box.  You know I think I saw
you post something similar before, and ignored it because I didn't want to
trick myself into thinking the GPU's speed was actually Ocaml's speed.  Now
that I have a better feel for that though, might as well let the frame-rates