Re: mode-lambda example doesn't work?

Jay McCarthy <[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <CAJYbDanKC9vYjGPkzc0Ta3LCUkx_ahJ7EqZznLL9uaaVuGX33g@mail.gmail.com>
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.

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 <clements-USm5ewCNdr/[email protected]>
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:
>
>


-- 
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected]
For more options, visit https://groups.google.com/d/optout.
Screen Shot 2016-04-05 at 8.58.47 PM.png (image/png, 206.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.