From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3UAMkLN023908 for ; Sat, 30 Apr 2011 12:22:46 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4CALnhu01KfVI0imdsb2JhbAAvpWEIFAEBAQoJDQcSBiGJDZwMgkKKfIIqhDI0iF4BAQMGhXoElCCFEzuDLw X-IronPort-AV: E=Sophos;i="4.64,292,1301868000"; d="asc'?scan'208";a="107129859" Received: from mail-ww0-f52.google.com ([74.125.82.52]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-MD5; 30 Apr 2011 12:22:41 +0200 Received: by wwe15 with SMTP id 15so5941491wwe.9 for ; Sat, 30 Apr 2011 03:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:x-enigmail-version:content-type; bh=VqRaFgYktl2I2WWJvgy5FxYnskCy43CniXyFHV0Mzdk=; b=jC9R4e68uB43CI1tmTp7i85aF2+Zw7NW9iRdDZQI+DbPBTrTpTW5AwerCJzSxapmns jEJTWlEsq1inSdx8T3X2dijFE3yBJi7gVeib8g83cLVrXCVMiwlRn3ZyQjfL6/6HDoKU cxPkgOAvTSxaWaD7pOAdFJAsDPSpD//98OK2Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type; b=rqFrYSW7M1o9mlFhUyGdvi7VFD/ATN/dJotwsCtS6WbfjPsUj6fhmTeuP3elEOPLkV cgPfdypueeBXULSM1LRxPrpmxW870RuCfiz9PG8VW1y/QmEfSocH1YKNEVj5m6wd0HCw Z9xoo3XE+6wC8GtQUJU6otxSETWMFrb+H7w10= Received: by 10.216.179.137 with SMTP id h9mr6226520wem.4.1304158960151; Sat, 30 Apr 2011 03:22:40 -0700 (PDT) Received: from macbookpro.local (vpn-b-advanced.univ-savoie.fr [193.48.127.14]) by mx.google.com with ESMTPS id s40sm1735264weq.28.2011.04.30.03.22.38 (version=SSLv3 cipher=OTHER); Sat, 30 Apr 2011 03:22:39 -0700 (PDT) Message-ID: <4DBBE2E8.50204@univ-savoie.fr> Date: Sat, 30 Apr 2011 12:22:32 +0200 From: Christophe Raffalli User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: OCaml X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigAE21D575E81425C52B2F3C61" X-Validation-by: craff73@gmail.com Subject: [Caml-list] Small openGL program example ... This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigAE21D575E81425C52B2F3C61 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, I just wrote in two days a small openGL game (~500 lines in one file), with fun options: - anaglyph 3D (yet to tune, I have not received my cyan/red glasses yet) - game replay - register game and high-score on a web site. Please visit http://lama.univ-savoie.fr/~raffalli/spheres.php Many possibilities for this code: - have fun and have the best high-score on the web site ;-) - use the fun factor for teaching ... please inform me if you have any succes failure ... There are FIXME in the code which could be good idea ... This is how this game started after all ... - write program that play the game. - find a way to check that game on the website are real game played by human at normal speed (hard research ?) - port to other openGL bindings for OCaml (send me your file, I will put it on the website) Have fun, Christophe Raffalli --------------enigAE21D575E81425C52B2F3C61 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk274u0ACgkQi9jr/RgYAS7g6wCdEqf3pWGhjeEvYDrVNuRiQf+Q beoAoJiUYIaRq6+yI9SgQbTbOk+/HDxv =XqAc -----END PGP SIGNATURE----- --------------enigAE21D575E81425C52B2F3C61--