> On Apr 6, 2016, at 2:43 AM, Jay McCarthy <jay.mccar...@gmail.com> wrote:
> 
> Hi John,
> 
> I'd like to debug the glClear error with you. I'll have to look up the error 
> to figure out where to go on it though, so I'll get back to you.
> 
> However, the screen you see is expected. The demo has a few modes and the 
> default is the text display mode and it is showing that it can display 
> unicode characters overlay'd on each other. Your characters look different 
> than mine, but I assume that is because you do not have the default font, 
> which is Matthew Butterick's Triplicate T4c (the only font I use on my 
> system). If you press various keys, the mode will change:
> 
> r - display a set of random sprites at random spins/etc with half in static 
> positions (optimized) and half moving dynamically
> g - display a small set of sprites in a uniform grid
> b - display a visually pleasing example involving little blocks
> t - display a single sprite inside of a tiled layer (the screen looks like it 
> has many sprites, but really it is just one)
> w - display a few sprites that are wrapped around the edges of a torus-like 
> layer (each color sprite is actually there once but is wrapped around the 
> edges)
> x - display characters (default)
> 
> The most interesting mode is b and while it is active you can press 's' to 
> induce vomiting mode where the mode-7 effect is enabled.

Ah! okay, these all worked fine. maybe a comment at the top?

FWIW, I also notice exactly the same problem that I reported earlier when using 
2htdp; on a long-running DrR process, swirling the mouse while the program is 
running reduces the frame rate.

In particular, in this case, it reduces it… to zero. In fact, the FPS 
computation in the title bar also disappears. As soon as the mouse stops 
moving, the motion begins again. As with the other report, the problem doesn’t 
appear to exist at the command-line—but then, running at the command-line is 
pretty much guaranteed not to give rise to a long-running process. As with the 
other problem I reported, restarting DrRacket makes the problem go away.

Hmm…

John

> 
> So.... please go through the various modes to see if they all work and if you 
> just want to see something vaguely pretty, check out b then s.
> 
> Jay
> 
> 
> On Wed, Apr 6, 2016 at 12:01 AM, John Clements <cleme...@brinckerhoff.org> 
> wrote:
> I want a sprite library, and it looks like mode-lambda is the obvious choice. 
> However, when I try to run the “one.rkt” example that’s a part of 
> mode-lambda, I get a screen with no motion that looks a bit like garbage 
> (though with live frame rate figures), and this text in the definitions 
> window:
> 
> Welcome to DrRacket, version 6.4.0.15--2016-03-29(-/f) [3m].
> Language: racket/base, with debugging; memory limit: 512 MB.
> You are using OpenGL (4 1)
> '#(#(416.0 234.0) #(1.0 1.0) #(416.0 234.0) #(416.0 234.0) #(800.0 578.0))
> . . ../backend/gl.rkt:281:9: OpenGL error in procedure glClear: Error code 
> 1286.
> 
> Any idea what’s going on? I’m assuming this isn’t the intended behavior. This 
> is on a "MacBook Pro (Retina, 13-inch, Early 2015)", running OS X 10.11.4 
> with a "Intel Iris Graphics 6100 1536 MB” card.
> 
> John
> 
> Here’s a screenshot of what I see in the opened window:
> 
> <Screen Shot 2016-04-05 at 8.58.47 PM.png>
> 
> 
> 
> -- 
> Jay McCarthy
> Associate Professor
> PLT @ CS @ UMass Lowell
> http://jeapostrophe.github.io
> 
>            "Wherefore, be not weary in well-doing,
>       for ye are laying the foundation of a great work.
> And out of small things proceedeth that which is great."
>                           - D&C 64:33
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to