comp.lang.ada
 help / color / mirror / Atom feed
From: "Alfredo Macias" <alfredom@sbceo.org>
Subject: Ada and OPenGL
Date: Tue, 14 Oct 2003 09:31:12 -0700
Date: 2003-10-14T09:31:12-07:00	[thread overview]
Message-ID: <bmh82j$5mt4@cui1.lmms.lmco.com> (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.





             reply	other threads:[~2003-10-14 16:31 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14 16:31 Alfredo Macias [this message]
2003-10-18 21:58 ` Ada and OPenGL 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
replies disabled

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