From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA17604; Sun, 21 Apr 2002 14:45:06 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA17597 for ; Sun, 21 Apr 2002 14:45:05 +0200 (MET DST) Received: from hirsch.in-berlin.de (hirsch.in-berlin.de [192.109.42.6]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g3LCj4L08901 for ; Sun, 21 Apr 2002 14:45:04 +0200 (MET DST) Received: from hirsch.in-berlin.de (localhost [127.0.0.1]) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with ESMTP id g3LCj2dQ030426 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT); Sun, 21 Apr 2002 14:45:03 +0200 Received: (from uucp@localhost) by hirsch.in-berlin.de (8.12.1/8.12.1/Debian -2) with UUCP id g3LCj1WX030394; Sun, 21 Apr 2002 14:45:01 +0200 X-Envelope-From: oliver@first.in-berlin.de X-Envelope-To: Luc.Mazardo@cvf.fr Received: from localhost (oliver@localhost) by first.in-berlin.de (8.7.6/8.7.3) with SMTP id OAA00523; Sun, 21 Apr 2002 14:27:24 +0200 Date: Sun, 21 Apr 2002 14:27:24 +0200 (MET DST) From: Oliver Bandel To: Warp cc: caml-list@inria.fr, Luc Mazardo Subject: Re: [Caml-list] OCamlSDL In-Reply-To: <02c601c1e724$deae7a60$3900a8c0@warp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, 19 Apr 2002, Warp wrote: > > The goal of OCamlSDL is to provide access the multimedia hardware > > in the ML programming language with the help of the SDL library. > > The Simple DirectMedia Layer is a generic API that provides low > > level access to audio, keyboard, mouse, and display framebuffer across > > multiple platforms. > > Félicitations ! > ( The logo is quite cool :o) > > I'm currently working at using OCaml as a script top-level for Direct3D. For > now it works just fine, and this summer our team will work on a big game > project almost entirely written in OCaml. Altough "game" things are perhaps > not the kind of projects for which OCaml was actually designed, I think we > can get some big payoff by using such a nice langage. My next project (I think it will take some months; if it takes 3 years, that is ok) will be a program for using the computer for labannotation (dance- notation) and have a 3D-animation of dancers. It's not necessary to have detailed faces and such human details, but it should be good enough to see the movements of peoples. And I think about parallell animation of many dancers. And the language I choosed to use to realize that program is Ocaml. The reason is, that it's possible to have functional, imperative and OO-features and the high-level language features. For example IMHO the datatypes (especially the Sum-types) are a very powerful facility. Why to write parsers in low-level- languages, when Ocaml provides high-level features? My first little experiments with OCaml's Graphics-Library on X11 were very astouning. That easy handling of graphics I have looked for a very long time. Maybe the program will be written directly in Ocaml, or I implement a Domain Specific Language, writing it in Ocaml. I'm a beginner in Ocaml, but even these first steps are very exciting. And I think I have not seen all the features of that language in detail. If it is possible to use 3D-Libraries (realtime 3D :)) from Ocaml directly, I'm interested in any informations. I have not worked intensively in the graphics-area, but I'm very interested in it. I don't know OpenGL in detail; I once read an article about Mesa (OpenGL-clnoe under Linux) and it's C-API. But as i saw, how complicated it is (annoying C-programming), I decided not to use it. If there is an Ocaml-API, that would be *very* nice. :) So, please if you have more informations on 3D-animations in generall (I need a postscript-output of 3D too and therefore have to implement some graphics-stuff by myself (PostScript does only provide 2D, like Xlib)) or especially in using OCaml for 3D-graphic-applications, let me know. Ciao, Oliver ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners