From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d3eb9731d6da1a55 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-01-31 17:11:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!lon1-news.nildram.net!peernews!peer.cwci.net!news5-gui.server.ntli.net!ntli.net!news6-win.server.ntlworld.com.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada References: Subject: Re: Graphics in GNAT for Linux, how? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: <%Wl68.5897$sU.846182@news6-win.server.ntlworld.com> Date: Fri, 1 Feb 2002 01:12:19 -0000 NNTP-Posting-Host: 62.252.140.22 X-Complaints-To: abuse@ntlworld.com X-Trace: news6-win.server.ntlworld.com 1012525883 62.252.140.22 (Fri, 01 Feb 2002 01:11:23 GMT) NNTP-Posting-Date: Fri, 01 Feb 2002 01:11:23 GMT Organization: ntlworld News Service Xref: archiver1.google.com comp.lang.ada:19451 Date: 2002-02-01T01:12:19+00:00 List-Id: "David Starner" wrote in message news:a3ag3k$aai1@news.cis.okstate.edu... > On Tue, 29 Jan 2002 18:23:12 -0000, chris.danx 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