comp.lang.ada
 help / color / mirror / Atom feed
From: "chris.danx" <chris.danx@ntlworld.com>
Subject: Re: Graphics in GNAT for Linux, how?
Date: Fri, 1 Feb 2002 01:12:19 -0000
Date: 2002-02-01T01:12:19+00:00	[thread overview]
Message-ID: <%Wl68.5897$sU.846182@news6-win.server.ntlworld.com> (raw)
In-Reply-To: a3ag3k$aai1@news.cis.okstate.edu


"David Starner" <dvdeug@x8b4e53cd.dhcp.okstate.edu> wrote in message
news:a3ag3k$aai1@news.cis.okstate.edu...
> On Tue, 29 Jan 2002 18:23:12 -0000, chris.danx <chris.danx@ntlworld.com>
wrote:
> >
> > "JOL" <181873@cienz.unizar.es> wrote in message
> > news:Xns91A5C24417198JOL@155.210.11.17...
> >> A example, please.
> >
> > DirectX, AdaGraph, JEWL, Gwindows, GtkAda, Opengl...?  You'll have to be
> > more specific before we can help you.
>
> How about OpenGL? I'm taking a programming class on graphics using
> OpenGL and GLUT, and I have my choice of languages for programs.

Nice.  I hope they let us do that next year.


> I have found a binding for OpenGL and GLUT on the web, but it was
painfully
> thin -
> procedure glutInit (argcp : access Integer; argv  : access
Interfaces.C.Strings.Chars_Ptr);
> is overly difficult to use for Ada, when all it needs is the command
> line or a reasonable facismilie thereof. I can't use anything that would
> hide the GL, though, so it has to be reasonably thin. Anyone know of a
> suitable binding to OpenGL and GLUT?

Not beyond what you've got for Ada, you'd have to create your own thick glut
binding as Ted suggested.

> I guess I could do it in Java (which I've only glanced at) or Fortran 77
> (which is suitably perverse), or just plain C/C++. Any one know of any
> more interesting languages with OpenGL bindings - Ocaml, or APL or the
> like?

If your considering a functional language, maybe Haskell is worth
considering?  It's a nice language and there's a binding for glut available
(http://haskell.org/HOpenGL/ looks like the official site).  There is
atleast compiler available called GHC (Glasgow Haskell Compiler), and an
interpreter Hugs.  I don't know if the binding works with hugs or GHC, you'd
need to check.

Running a search for OCaml and opengl on google with give you quite a few
hits, you'd need to judge for yourself what you need.


Chris






  parent reply	other threads:[~2002-02-01  1:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-29 18:36 Graphics in GNAT for Windows, how? JOL
2002-01-29 18:23 ` chris.danx
2002-01-31  4:10   ` Graphics in GNAT for Linux, how? David Starner
2002-01-31 15:26     ` Ted Dennison
2002-01-31 19:39       ` Ted Dennison
2002-02-01  1:12     ` chris.danx [this message]
2002-01-29 18:29 ` Graphics in GNAT for Windows, how? Stephen Leake
2002-01-30  3:31 ` David Botton
2002-01-30 22:35   ` Thanks, Thanks, Thanks: Gracias a todos JOL
2002-01-30 10:22 ` Graphics in GNAT for Windows, how? John English
2002-01-30 20:07 ` Randy Brukardt
2002-01-30 23:38   ` tmoran
2002-01-31  0:22   ` Necros
2002-01-31  9:02     ` Preben Randhol
2002-01-31 20:28     ` David Botton
2002-01-31  6:14   ` tmoran
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox