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
3D-Animation-examples with Graphics-Lib?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-05-18 (05:45)
From: Oliver Bandel <oliver@f...>
Subject: 3D-Animation-examples with Graphics-Lib?

I heard about OpenGL-Libraries for Ocaml.
I planned to use them later, but first I want
to explore the capabilities of the Graphics-Module.

Are there 3D-animation-examples for the
Graphics-Library/-module available?
I want to explore if the Graphics-module is enough
powerful and performant to be used for such applications.

If not, I can chose OpenGL-bindings later (if necessary
using C-code and Ocaml for performance-reasons, but
if possible, I would prefer an Ocaml-only solution).

I do not need highest-performance, but it must match
my needs.

You may know the "walker"-example of the Mesa-Library (an
OpenGL clone under Linux).

I need similar things: I need 3D-movements and change of view/
perspective. It's sufficient to have a simple body of the
walker (for my needs it's a dancer :)) and it is not
necessary to have charcter-animation-like graphics.

(I want to have 3D-animations of dance-notation, so it's
sufficient if the body looks real, but I don't need
details in faces and such.)

Is there an example, similar to the Mesa-Lib's walker
available for Ocaml - for the OpenGl-Libraries as well
as for the Graphics-module?

I would prefer the Graphics-module, because it's designed
to be available on different systems, and I want to write
a system-independent program, so that Users on Linux/Unix,
Mac OS and Windows can use it.
And the best would be, that no additional installation-
procedure is necessary, because the users of that program
definitely will be without deeper computer knowledge.

Are there other examples of the graphics-lib available
(GUI's written in it, or simple graphic-programs?)?

Any hints are welcome and thanks in advance.