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
[Caml-list] OCamlSDL
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-23 (15:10)
From: Oliver Bandel <oliver@f...>
Subject: Re: [Caml-list] OCamlSDL

On Mon, 22 Apr 2002, John Max Skaller wrote:

> Tim Freeman wrote:
> >Will Benton allegedly wrote:
> >
> >> 2.  O'Caml bindings are already available for OpenGL.
> >>
> >
> >From: John Max Skaller <>
> >
> >>In that case, why are we sticking with Tk?
> >>
> >
> >I don't get it.  Tk is about 2D graphics, and OpenGL is about
> >accelerated 3d graphics.  Your question presupposes that we have a
> >choice between one and the other, but I can't think of any
> >applications for which that is true.
> >
> Gee, I always though 2D was a subspace of 3D...

Tk is designed for interactive GUI-Applications. And, yes,
it provides graphical output with the canvas-widget.

But I think that OpenGL is designed for having 3D-animations
and similar stuff, and not to put buttons on the screen,
on which the user can click.
And I think you have to reinvent the "button-wheel" in OpenGL.

Maybe it would be a good idea to marriage OpenGL and Tk,
so that Tk provides easy GUI-design and OpenGL provides
powerful 3D-capabilities.

Maybe there should be a GUI-Lib for OpenGL, or a 3D-canvas-
widget for Tk (OpenGL-canvas for Tk).


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: