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,915401dbfc4f5f7d X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-11 17:18:54 PST Message-ID: <3E6E899B.FCA89B2C@sympatico.ca> From: David Marceau X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.17-10mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: OpenGL and Ada References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 11 Mar 2003 20:12:59 -0500 NNTP-Posting-Host: 65.92.168.213 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1047431640 65.92.168.213 (Tue, 11 Mar 2003 20:14:00 EST) NNTP-Posting-Date: Tue, 11 Mar 2003 20:14:00 EST Organization: Bell Sympatico Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!torn!webster!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:35233 Date: 2003-03-11T20:12:59-05:00 List-Id: Alfredo Macias wrote: > > Can someone point out any sources for examples on OpenGL in Ada? > I've been trying to display a picture using OpenGL in an Ada program. > (I'm using OpenGL directly because no windowing is to be used in my program) > Thank you. I'm not sure what you mean by no windowing but what operating system are you using? There is glut for windows(win32) and linux/unix. glut with ada(recent bindings) http://perso.wanadoo.fr/pascal.obry/archive/glut32.tar.gz examples for glut with ada http://perso.wanadoo.fr/pascal.obry/archive/ogl-src.tar.gz glut for windows http://www.xmission.com/~nate/glut.html open gl and glut web site http://www.opengl.org/developers/documentation/glut/index.html?GLUT#2 You might also want to consider Gautier's 3d engine. Engine3d uses svgalib which implies straight to the graphics card no x-Window or win32 windows. http://www.mysunrise.ch/users/gdm/e3d.htm Works on the following Operating systems: Linux, DR-DOS, MS-DOS, PC-DOS, and Dos emulation: -Windows 95,98,ME: OK. You may need to toggle to full screen (Alt-return). -Windows NT/2000/XP: OK You need to toggle to full screen (Alt-return). Only banked-mode VESA works (slower) and is automatically selected. Sometimes NTVDM crashes for mysterious reasons. To stabilize it you can install ntlfn, Win9x's long names services for NT-DOS. For accessing the sound card under NT, you'll need VDMSound. In any case, there is a "bootable" version. -Linux DOSEMU: Reported as OK. But, look at the Linux version. I hope this helps. Cheers, David Marceau