chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] [ANN] New egg: opengl-glew


From: Kristian Lein-Mathisen
Subject: Re: [Chicken-users] [ANN] New egg: opengl-glew
Date: Mon, 14 Apr 2014 18:30:39 +0200

This is awesome!

I've longed for OpenGL extensions in my REPL for a long time! Looking forward to play with shaders.

Thanks for your contribution, Alex!

K.


On Mon, Apr 14, 2014 at 4:03 PM, Daniel Leslie <address@hidden> wrote:
Sorry, I just woke up. That was rather terse of me. :)

This is an awesome egg, and I think it's very much needed. The glext egg never really got off the ground, and Chicken's existing GL library is sorrowfully lacking in modern features.

Anyhow, thanks for the Egg!
-Dan


On Mon, Apr 14, 2014 at 6:58 AM, Daniel Leslie <address@hidden> wrote:
FYI, those using the Allegro egg already gain access to most/all gl extensions:

http://wiki.call-cc.org/eggref/4/allegro/gl

Also, this portion of the Allegro egg was forked out as the glext egg, though it's poorly documented:

http://wiki.call-cc.org/eggref/4/glext

https://github.com/dleslie/glext

-Dan


On Mon, Apr 14, 2014 at 5:08 AM, Mario Domenech Goulart <address@hidden> wrote:
Hi Alex,

On Sun, 13 Apr 2014 16:12:08 -0400 Alex Charlton <address@hidden> wrote:

> opengl-glew provides bindings to OpenGL’s core profile while handling extension loading with GLEW:
>
> https://github.com/AlexCharlton/chicken-opengl-glew
>
> There are two existing eggs that have some degree of overlap with this
> one. The opengl egg provides only the older fixed function pipeline
> API. OpenGL has changed the majority of its API since then, so it’s
> not useful for writing modern graphics programs. The allegro egg
> provides some more recent OpenGL bindings (they seem to have been last
> updated in 2012), but relies on Allegro which not everyone wants as a
> dependency.
>
> opengl-glew uses the widely used GLEW to handle its extension loading,
> making this egg immediately useful to most programmers who work with
> modern OpenGL. Further, it is guaranteed to always be up-to-date with
> the latest OpenGL core profile, because it downloads the glcorearb
> header file from opengl.org and uses it to generate its bindings. Some
> high-level convenience functions are also provided.
>
> Mario, could you please add this to the egg list:
>
> https://raw.githubusercontent.com/AlexCharlton/chicken-opengl-glew/master/opengl-glew.release-info

Cool.  Thanks a lot.  I've added your new egg to the coop.

I have a few notes, though.  I don't think downloading glcorearb.h at
install time is a good idea.  Here are some of the reasons:

* it'll probably make the life for system packagers a bit difficult,
  since it'll be hard to have a predictable source code based only on
  opengl-glew egg's version.  For example, glcorearb.h may change while
  opengl-glew is at the same version -- you'd have the same version for
  the package, but the source code may be different.

* people that fetch eggs source code to install on systems with no
  Internet connection will probably have a hard time installing
  opengl-glew.

* opengl-glew relies on wget.  AFAIK, it's not available on Windows by
  default.  I think this dependency should be mentioned on the
  documentation (probably in the "Requirements" section).


Best wishes.
Mario
--
http://parenteses.org/mario

_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users



_______________________________________________
Chicken-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/chicken-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]