[Jprogramming] openGL CLEARCOLOR =: White
schott.brian at gmail.com
schott.brian at gmail.com
Thu Jan 19 08:31:14 HKT 2006
Raul,
Yes, that did it.
Also, I don't know why I thought gldefault '' should
be last in the sequence; it should be first, before
CLEARCOLOR and glinit '' , too.
I knew I was missing something obvious. Thanks very
much.
On Wed, 18 Jan 2006, Miller, Raul D wrote:
+ Brian Schott wrote:
+ > When I execute the code below only one time, an
+ > openGL window is created with a completely BLACK background.
+ > If I execute the code a second time in the same session, the
+ > (existing) openGL window changes to the desired color,
+ > WHITE. Also, if after the first BLACK window is closed first
+ > before the second execution of the code, a new WHITE openGL
+ > window is created directly from a new execution.
+ >
+ > I want the openGL window to be WHITE the first time
+ > the code is executed. Any ideas?
+
+ Screen_run =: monad define
+ CLEARCOLOR=: color4 (,Bkgrd,0)
+ glinit'' NB. resets LISTS, QUADS, NURBS
+ gldefault'' NB. resets lots of nouns
+ stdlistlight''
+ stdpaintx''
+ )
+
+ --
+ Raul
More information about the Programming
mailing list