Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] openGL shader demos
Date: Sun, 30 Dec 2007 06:36:02 +0000	[thread overview]
Message-ID: <200712300636.02950.jon@ffconsultancy.com> (raw)
In-Reply-To: <200712292220.48821.fmonnier@linux-nantes.org>

On Saturday 29 December 2007 21:20:48 Florent Monnier wrote:
> > I recently wrote several OpenGL 2 shader demos in OCaml
>
> If your OCaml-OpenGL demos are available on the web, I would be well
> interested to get those.
> (Or if they are not, maybe you could send in email.)

Yes, I suspect quite a few people would like these demos. I'll put them up on 
our site ASAP.

Essentially, OpenGL 2 lets you do per-pixel lighting from OCaml really easily 
and the results look absolutely fantastic: much better than OpenGL 1. You can 
also do much more sophisticated things (like the Mandelbrot shader I've got 
working) but its the basics that I really appreciate.

GLCaml makes this about as easy as it can be, although there are a couple of 
places where I'd like the types to be different. For example, I'd prefer 
strings instead of byte bigarrays for everything from shaders to variable 
names.

In summary, there's no reason for OCaml programmers to restrict themselves to 
OpenGL 1, at least not after Elliott fixes the minor bugs I found.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e


  reply	other threads:[~2007-12-30  6:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-23 21:57 [ANN] glMLite Florent Monnier
2007-12-24  8:54 ` [Caml-list] " Stefano Zacchiroli
2007-12-24 13:34   ` Jan Rehders
2007-12-24 16:28     ` Florent Monnier
2007-12-28  1:21     ` Jon Harrop
2007-12-29 21:20       ` openGL shader demos Florent Monnier
2007-12-30  6:36         ` Jon Harrop [this message]
2007-12-24 16:17   ` [Caml-list] [ANN] glMLite Florent Monnier

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=200712300636.02950.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --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