Re: [racket-users] Advice wanted about new opengl binding

2020-08-04 Thread Sam Tobin-Hochstadt
On Mon, Aug 3, 2020, 7:27 PM Hendrik Boom wrote: > On Mon, Aug 03, 2020 at 02:01:16PM -0400, Philip McGrath wrote: > > Is this what you're looking for? > https://pkgs.racket-lang.org/package/sgl > > > > -Philip > > Yes, looks like it. Is it messing from the index for some good reason? > By

Re: [racket-users] Advice wanted about new opengl binding

2020-08-03 Thread Hendrik Boom
On Mon, Aug 03, 2020 at 02:01:16PM -0400, Philip McGrath wrote: > Is this what you're looking for? https://pkgs.racket-lang.org/package/sgl > > -Philip Yes, looks like it. Is it messing from the index for some good reason? I'm not sure how the packaging works. I end up at

Re: [racket-users] Advice wanted about new opengl binding

2020-08-03 Thread Philip McGrath
Is this what you're looking for? https://pkgs.racket-lang.org/package/sgl -Philip On Sun, Aug 2, 2020 at 5:51 PM Hendrik Boom wrote: > Time to rethink everything before I go further. > > So far I've found several opengl bindings. > There's opengl, documented here: >

Re: [racket-users] Advice wanted about new opengl binding

2020-08-02 Thread Hendrik Boom
Time to rethink everything before I go further. So far I've found several opengl bindings. There's opengl, documented here: https://docs.racket-lang.org/opengl/index.html There are sgl and sgl/gl, documented here: https://docs.racket-lang.org/sgl/index.html and there's a typed opengl hidden

Re: [racket-users] Advice wanted about new opengl binding

2020-08-01 Thread Hendrik Boom
On Sat, Aug 01, 2020 at 11:48:06AM -0600, Matthew Flatt wrote: > At Fri, 31 Jul 2020 17:05:27 -0400, Hendrik Boom wrote: > > For example, there's glGetCompressedTexImageARB. It receivees a > > pointer to an image area and fills it in with a compressed image. > > According the the Racket C

Re: [racket-users] Advice wanted about new opengl binding

2020-08-01 Thread Matthew Flatt
At Fri, 31 Jul 2020 17:05:27 -0400, Hendrik Boom wrote: > For example, there's glGetCompressedTexImageARB. It receivees a > pointer to an image area and fills it in with a compressed image. > According the the Racket C interface, the way to write this > would be: > > (define-gl

[racket-users] Advice wanted about new opengl binding

2020-07-31 Thread Hendrik Boom
I need advice from someone with more experience with openGL and/or Racket. I am still working on updating the Racket openGL binding to the current openGL spec. I'm doing this as in the old binding, machine-translating the formal part of the openGl standard, which now uses a competely new