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.3 required=5.0 tests=BAYES_00,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,90d6fd2edcef9752 X-Google-Attributes: gid103376,public X-Google-Thread: f65bb,90d6fd2edcef9752 X-Google-Attributes: gidf65bb,public From: wvdtol@my-deja.com Subject: Re: textures, GlUT3.7 and Ada95 Date: 1999/07/28 Message-ID: <7nmipk$joe$1@nnrp1.deja.com>#1/1 X-Deja-AN: 506059905 References: <7nkjt4$aa3$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x22.deja.com:80 (Squid/1.1.22) for client 195.108.169.40 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Jul 28 09:33:40 1999 GMT X-MyDeja-Info: XMYDJUIDwvdtol Newsgroups: comp.lang.ada,comp.graphics.api.opengl X-Http-User-Agent: Mozilla/4.61 [en] (WinNT; I) Date: 1999-07-28T00:00:00+00:00 List-Id: Jerry, There is an ada implementation available and the examples there don't use textures, or I must have been looking with a very well implemented 'remove everything that looks like reading texture files from what I see in an ada95 program' filter. As I wrote I was looking for examples, such to give me the ability to port the code myself. But I can have a look at the GLUT code that has been ported to ada and compare it with the C code. Once I know the trick I will make an example "converting C to Ada95 for dummies" that I will use myself for my future C to ada projects. One part of the problem is that I am better in writing code that no one understands, than reading somebody else's code. Especialy when it is written in a programming language I am not familiar with. To be more specific, I ran into something like Void *byte. Hmmm, I wonder what it means, and more, how do you convert something like that to Ada? There are more of these int* blub and void *bertje(&eet, *pap) that confuse my very fragily understanding of access types am just growing. I will also have a more in depth look at the C code myself. It means I have to find a C book. Wilco In article , jerry@jvdsys.stuyts.nl wrote: > wvdtol@my-deja.com wrote: > > : I'm playing a bit with Glut3.7 and I am looking for an example in which > : textures, rgb files, are being used. > > As someone who ported/bound GLUT to Ada (maybe you are using it ?) I wonder > what the specific problem of converting one of demo programs to Ada in > this case is. ? > > -- > -- Jerry van Dijk | Leiden, Holland > -- Team Ada | jdijk@acm.org > -- see http://stad.dsl.nl/~jvandyk > Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.