From: "Grant Olson" <olsongt@verizon.net>
To: <caml-list@yquem.inria.fr>
Subject: RE: [Caml-list] ANN: Chess III Arena 0.5
Date: Tue, 03 Jul 2007 22:18:06 -0400 [thread overview]
Message-ID: <000801c7bde1$8fd969b0$ac01a8c0@johnyaya> (raw)
In-Reply-To: <200707032343.44111.jon@ffconsultancy.com>
> From: caml-list-bounces@yquem.inria.fr
> [mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of Jon Harrop
> let draw_md3 =
> let m = Hashtbl.create 1 in
> fun x y ->
> try GlList.call(Hashtbl.find m (x, y)) with Not_found ->
> let list = GlList.create `compile in
> draw_md3 x y;
> GlList.ends();
> GlList.call 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
fly!
-Grant
next prev parent reply other threads:[~2007-07-04 2:18 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-03 21:48 Grant Olson
2007-07-03 22:43 ` [Caml-list] " Jon Harrop
2007-07-04 2:18 ` Grant Olson [this message]
2007-07-04 8:00 ` Daniel Bünzli
2007-07-04 20:06 ` Grant Olson
2007-07-04 20:51 ` Bünzli Daniel
2007-07-04 21:22 ` Jon Harrop
2007-07-05 0:25 ` Daniel Bünzli
2007-07-05 3:05 ` Jon Harrop
2007-07-05 7:45 ` Daniel Bünzli
2007-07-05 12:52 ` Jon Harrop
2007-07-05 13:37 ` Daniel Bünzli
2007-07-05 13:52 ` Daniel Bünzli
2007-07-05 14:22 ` Jon Harrop
2007-07-05 14:43 ` Daniel Bünzli
2007-07-05 23:40 ` Grant Olson
2007-07-06 19:41 ` Jon Harrop
2007-07-04 10:58 ` Jon Harrop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000801c7bde1$8fd969b0$ac01a8c0@johnyaya' \
--to=olsongt@verizon.net \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox