From: "Phaedrus" <phaedrusalt@hotmail.com>
Subject: Re: OpenGL and Ada
Date: Thu, 09 Oct 2003 00:44:13 GMT
Date: 2003-10-09T00:44:13+00:00 [thread overview]
Message-ID: <xb2hb.3568$dn6.3306@newsread4.news.pas.earthlink.net> (raw)
In-Reply-To: blkgkh$aj11@cui1.lmms.lmco.com
<I sent the following to Alfredo, then realized that it might help someone
else someday. So here it is.>
Without seeing the entire code, I can only guess. But I'd bet that you're
seeing a reflection of the light
source. If the current material is fairly reflective, you'd have a good
chance of getting a highly specular
reflection like you describe. Try changing the position of the light(s),
and see if the result changes.
Just my $0.02 worth...
Good luck!
--Phaedrus
"Alfredo Macias" <alfredom@sbceo.org> wrote in message
news:blkgkh$aj11@cui1.lmms.lmco.com...
> Hi,
> Has anyone seen a problem with openGL (with ada) running on Linx where a
> line between 2 points is drawn 60% with the intended color and 40% of it
> white?
>
> This is the code Im running, and don't set any colors between the drawing
of
> the line, how could the line be drawn with two different colors, and when
> the line moves, the intruder color changes to yellow or magenta.
>
> This is weired and is driven me nuts.
> Gl.Glbegin(Mode);
>
> for I in 1..2 loop
> Gl.Glvertex2d
> (Gl.Gldouble(Data.Item(I).Coord1),
> Gl.Gldouble(Data.Item(I).Coord2));
> end loop;
>
> Gl.Glend;
>
>
> No one I know has seen this kind of behavior. Have you?
> Any hints will be appreciated.
>
>
next prev parent reply other threads:[~2003-10-09 0:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-03 18:59 OpenGL and Ada Alfredo Macias
2003-10-04 5:10 ` Frank
2003-10-04 16:59 ` chris
2003-10-09 0:44 ` Phaedrus [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-11 16:10 Alfredo Macias
2003-03-12 1:12 ` David Marceau
2003-03-12 1:41 ` David Botton
2003-03-12 10:44 ` Gautier
2003-03-12 20:44 ` Joachim Schr�er
2003-03-13 0:01 ` David Holm
2003-03-14 0:27 ` Alfredo Macias
2003-06-16 13:40 ` David Botton
2000-10-25 0:00 OpenGL and ADA Daniel Maleike
2000-10-25 0:00 ` Pascal Obry
2000-10-26 1:58 ` DuckE
2000-05-08 0:00 Randy Pugh
2000-05-09 0:00 ` Pascal Obry
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox