comp.lang.ada
 help / color / mirror / Atom feed
* Ada and OPenGL
@ 2003-10-14 16:31 Alfredo Macias
  2003-10-18 21:58 ` chris
  0 siblings, 1 reply; 24+ messages in thread
From: Alfredo Macias @ 2003-10-14 16:31 UTC (permalink / raw)


Hi all,
I'm running an ada-opengl program on Linux.  I draw a line between two
points directly as follows:

Glcolor3f(1,0,0),

GlBegin
     Gl.Glvertex2d (Gl.Gldouble(X, Y);
     Gl.Glvertex2d (Gl.Gldouble(X1, Y1);
GlEnd

The problem is that the line is drawn about 60% of it in red (the right
color) and the rest of it in white or some times yellow or magenta.  Now, I
run the same code in AIX and get a nice red solid line.  So the problem only
ocurs on Linux.

Does anybody have any idea why this is happening?,  somebody suggested that
there could be something wrong with my lights, but I'm using no lights at
all.





^ permalink raw reply	[flat|nested] 24+ messages in thread
* ada and opengl
@ 2014-07-14  0:44 pincerfae
  2014-07-14  4:03 ` Nasser M. Abbasi
                   ` (4 more replies)
  0 siblings, 5 replies; 24+ messages in thread
From: pincerfae @ 2014-07-14  0:44 UTC (permalink / raw)


hello. I was wondering if I need to learn c programming before I can use ada to learn opengl.

I was able to grab a tutorial on how to use the opengl api with the c programming language.

unfortunately, I haven't been able to find an ada equivalent, nor any instructions on how to set up the ada opengl bindings with my compiler (I have ada-gide).

^ permalink raw reply	[flat|nested] 24+ messages in thread
* Ada and OpenGL
@ 2001-09-28 15:22 Michael Andersson
  2001-09-28 18:59 ` Ted Dennison
  2001-10-01  5:56 ` Maxim Reznik
  0 siblings, 2 replies; 24+ messages in thread
From: Michael Andersson @ 2001-09-28 15:22 UTC (permalink / raw)


Hi!
Could somebody please show me how to use the glGetString function with
Ada?
I get Storage Error every time and I guess it has to do with illegal
memory access.

Thanks in advance!
/Michael Andersson



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2014-07-21 18:42 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-14 16:31 Ada and OPenGL Alfredo Macias
2003-10-18 21:58 ` chris
  -- strict thread matches above, loose matches on Subject: below --
2014-07-14  0:44 ada and opengl pincerfae
2014-07-14  4:03 ` Nasser M. Abbasi
2014-07-15 18:58   ` pincerfae
2014-07-14  8:18 ` Luke A. Guest
2014-07-14 18:56 ` pincerfae
2014-07-15 19:21 ` Marius Amado-Alves
2014-07-15 23:09   ` pincerfae
2014-07-15 23:15   ` pincerfae
2014-07-16  6:20     ` Niklas Holsti
2014-07-16 14:49     ` Stephen Leake
2014-07-16 16:52     ` Luke A. Guest
2014-07-16 19:37     ` gautier_niouzes
2014-07-20  0:31       ` pincerfae
2014-07-20 11:23         ` Stephen Leake
2014-07-20 19:46           ` pincerfae
2014-07-20 21:50             ` gautier_niouzes
2014-07-21 14:45             ` Stephen Leake
2014-07-21 18:42               ` pincerfae
2014-07-16 10:13 ` francois_fabien
2001-09-28 15:22 Ada and OpenGL Michael Andersson
2001-09-28 18:59 ` Ted Dennison
2001-10-01  5:56 ` Maxim Reznik

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