* Guile OpenGL
@ 2012-10-23 6:34 Javier Sancho
2012-10-23 18:12 ` David Pirotte
0 siblings, 1 reply; 12+ messages in thread
From: Javier Sancho @ 2012-10-23 6:34 UTC (permalink / raw)
To: guile-devel
Hi all,
I'm looking for a Guile module for OpenGL. I found GuileGL [1] and
guile-gl [2], but both seem abandoned, and Guile website says Mesa
interface is pending.
For the moment, I've started a new wrapper for GL using smobs so we can
play with garbage collection too.
Greetings.
[1] http://freecode.com/projects/guilegl
[2] https://github.com/tcolgate/guile-gl
--
Javier Sancho Fernández - http://www.jsancho.org/
Associate Member of the Free Software Foundation - http://www.fsf.org/
Contra el DRM - http://www.defectivebydesign.org/what_is_drm
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-23 6:34 Guile OpenGL Javier Sancho
@ 2012-10-23 18:12 ` David Pirotte
2012-10-24 8:14 ` Javier Sancho
0 siblings, 1 reply; 12+ messages in thread
From: David Pirotte @ 2012-10-23 18:12 UTC (permalink / raw)
To: Javier Sancho; +Cc: guile-devel
Hello Javier,
> I'm looking for a Guile module for OpenGL. I found GuileGL [1] and
> guile-gl [2], but both seem abandoned, and Guile website says Mesa
> interface is pending.
> For the moment, I've started a new wrapper for GL using smobs so we can
> play with garbage collection too.
Guile has a wrapper to the ultra-hip clutter library :) See here:
http://www.gnu.org/software/guile-gnome/
If you are interested and need help for installing, let me know...
Cheers,
David
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-23 18:12 ` David Pirotte
@ 2012-10-24 8:14 ` Javier Sancho
2012-10-24 12:51 ` David Pirotte
2012-10-27 19:42 ` Ian Price
0 siblings, 2 replies; 12+ messages in thread
From: Javier Sancho @ 2012-10-24 8:14 UTC (permalink / raw)
To: David Pirotte; +Cc: guile-devel
David Pirotte wrote:
> Guile has a wrapper to the ultra-hip clutter library :) See here:
>
> http://www.gnu.org/software/guile-gnome/
>
> If you are interested and need help for installing, let me know...
Thanks David, but I'm working on a little extension for making games
and Clutter seems done for GUI.
I've mapped some SDL and GL functions, but now the project is growing
and I think the best idea is to separate the access to these libraries
into wrappers or adopt existing ones.
So, if there isn't wrapper for SDL and GL, I'll create guile-sdl and
guile-gl modules for Guile community and me (well, I'll try it).
Cheers.
--
Javier Sancho Fernández - http://www.jsancho.org/
Associate Member of the Free Software Foundation - http://www.fsf.org/
Contra el DRM - http://www.defectivebydesign.org/what_is_drm
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-24 8:14 ` Javier Sancho
@ 2012-10-24 12:51 ` David Pirotte
2012-10-24 14:32 ` David Pirotte
2012-10-24 15:23 ` Javier Sancho
2012-10-27 19:42 ` Ian Price
1 sibling, 2 replies; 12+ messages in thread
From: David Pirotte @ 2012-10-24 12:51 UTC (permalink / raw)
To: Javier Sancho; +Cc: guile-devel
Hello Javier,
> > http://www.gnu.org/software/guile-gnome/
> Thanks David, but I'm working on a little extension for making games
> and Clutter seems done for GUI.
But it uses cogl, which we still lack from guile. It would be nice if you take a
quick look at it and if it suites your needs, rather helping with the cogl wrapper.
I am not the developer of guile-gnome, and never wrapped any lib yet, I am a
guile-gnome guile-clutter user ... but i think you probably want, even if you
wrap opengl, to take a look at the doc on how to write a wrapper: you'll find them
if you git clone guile-gnome [and guile-clutter for your coding curiosity maybe], or
browse the git repo ...
docs/RELEASE-NOTES-0.2.0.txt
docs/RELEASE-NOTES-0.5.0.txt
> I've mapped some SDL and GL functions, but now the project is growing
> and I think the best idea is to separate the access to these libraries
> into wrappers or adopt existing ones.
I think there is an SDL recently updated but not sure.
> So, if there isn't wrapper for SDL and GL, I'll create guile-sdl and
> guile-gl modules for Guile community and me (well, I'll try it).
try to see if cogl could do the work before, and if not, good luck: wrapping opengl
is a huge work!
Cheers,
David
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-24 12:51 ` David Pirotte
@ 2012-10-24 14:32 ` David Pirotte
2012-10-24 15:23 ` Javier Sancho
1 sibling, 0 replies; 12+ messages in thread
From: David Pirotte @ 2012-10-24 14:32 UTC (permalink / raw)
To: Javier Sancho; +Cc: guile-devel
Reply to myself :)
Javier,
> take a look at the doc on how to write a wrapper: you'll find them if you git
> clone guile-gnome [and guile-clutter for your coding curiosity maybe], or browse
> the git repo ...
the doc i pointed are [too] old, I am sorry.
You'd want to read HACKING which has been updated recently.
Cheers,
David
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-24 12:51 ` David Pirotte
2012-10-24 14:32 ` David Pirotte
@ 2012-10-24 15:23 ` Javier Sancho
1 sibling, 0 replies; 12+ messages in thread
From: Javier Sancho @ 2012-10-24 15:23 UTC (permalink / raw)
To: David Pirotte; +Cc: guile-devel
David Pirotte wrote:
> But it uses cogl, which we still lack from guile. It would be nice if you take a
> quick look at it and if it suites your needs, rather helping with the cogl wrapper.
I didn't know cogl. I've to play with this a little, integration
between OpenGL and OpenGL ES is very tempting.
> I am not the developer of guile-gnome, and never wrapped any lib yet, I am a
> guile-gnome guile-clutter user ... but i think you probably want, even if you
> wrap opengl, to take a look at the doc on how to write a wrapper: you'll find them
> if you git clone guile-gnome [and guile-clutter for your coding curiosity maybe], or
> browse the git repo ...
I'll do it.
> I think there is an SDL recently updated but not sure.
SDL team is working on a new version (2.0), but 1.2 is still the stable current.
> try to see if cogl could do the work before, and if not, good luck: wrapping opengl
> is a huge work!
Well, basically I only need time... so step by step.
Thank you so much, David.
--
Javier Sancho Fernández - http://www.jsancho.org/
Associate Member of the Free Software Foundation - http://www.fsf.org/
Contra el DRM - http://www.defectivebydesign.org/what_is_drm
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-24 8:14 ` Javier Sancho
2012-10-24 12:51 ` David Pirotte
@ 2012-10-27 19:42 ` Ian Price
2012-10-28 6:03 ` Javier Sancho
1 sibling, 1 reply; 12+ messages in thread
From: Ian Price @ 2012-10-27 19:42 UTC (permalink / raw)
To: Javier Sancho; +Cc: Thien-Thi Nguyen, guile-devel
Javier Sancho <jsf@jsancho.org> writes:
> So, if there isn't wrapper for SDL and GL, I'll create guile-sdl and
> guile-gl modules for Guile community and me (well, I'll try it).
http://www.nongnu.org/guile-sdl/ is still maintained, and should work on
2.0 [0]. It would be nice if any work on sdl bindings is either
coordinated with ttn, with a view to be included in the existing
guile-sdl, or if it were at the very least compatible.
0. It used to be necessary to make a small tweak, I forget if this is
still the case.
--
Ian Price -- shift-reset.com
"Programming is like pinball. The reward for doing it well is
the opportunity to do it again" - from "The Wizardy Compiled"
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-27 19:42 ` Ian Price
@ 2012-10-28 6:03 ` Javier Sancho
2012-10-29 17:30 ` Aleix Conchillo Flaqué
0 siblings, 1 reply; 12+ messages in thread
From: Javier Sancho @ 2012-10-28 6:03 UTC (permalink / raw)
To: Ian Price; +Cc: Thien-Thi Nguyen, guile-devel
Ian Price wrote:
> http://www.nongnu.org/guile-sdl/ is still maintained, and should work on
> 2.0 [0]. It would be nice if any work on sdl bindings is either
> coordinated with ttn, with a view to be included in the existing
> guile-sdl, or if it were at the very least compatible.
>
> 0. It used to be necessary to make a small tweak, I forget if this is
> still the case.
Thanks Ian. I discovered guile-sdl yesterday, reading ttn on sgf utils
at guile-user list.
For the moment I'm working on opengl bindings. I want to use opengl
with sdl, so when guile-gl is ready, I'll test it with ttn guile-sdl.
Maybe next week I'll publish a very first version of (opengl gl).
Cheers.
--
Javier Sancho Fernández - http://www.jsancho.org/
Associate Member of the Free Software Foundation - http://www.fsf.org/
Contra el DRM - http://www.defectivebydesign.org/what_is_drm
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-28 6:03 ` Javier Sancho
@ 2012-10-29 17:30 ` Aleix Conchillo Flaqué
2012-10-29 17:41 ` David Pirotte
2012-10-30 16:00 ` Javier Sancho
0 siblings, 2 replies; 12+ messages in thread
From: Aleix Conchillo Flaqué @ 2012-10-29 17:30 UTC (permalink / raw)
To: Javier Sancho; +Cc: Ian Price, Thien-Thi Nguyen, guile-devel
On Sat, Oct 27, 2012 at 11:03 PM, Javier Sancho <jsf@jsancho.org> wrote:
> Ian Price wrote:
>> http://www.nongnu.org/guile-sdl/ is still maintained, and should work on
>> 2.0 [0]. It would be nice if any work on sdl bindings is either
>> coordinated with ttn, with a view to be included in the existing
>> guile-sdl, or if it were at the very least compatible.
>>
>> 0. It used to be necessary to make a small tweak, I forget if this is
>> still the case.
>
> Thanks Ian. I discovered guile-sdl yesterday, reading ttn on sgf utils
> at guile-user list.
>
> For the moment I'm working on opengl bindings. I want to use opengl
> with sdl, so when guile-gl is ready, I'll test it with ttn guile-sdl.
>
> Maybe next week I'll publish a very first version of (opengl gl).
>
> Cheers.
>
Hi Javier,
If you haven't done anything yet, I started to work in the OpenGL
bindings a while ago. If you like it may be you can continue working
on that.
https://github.com/aconchillo/guile-gl
I also created a couple of python scripts to create the C and FFI
bindings template given a header file (under tools directory), you
might find them useful.
Best,
Aleix
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-29 17:30 ` Aleix Conchillo Flaqué
@ 2012-10-29 17:41 ` David Pirotte
2012-10-29 17:54 ` Aleix Conchillo Flaqué
2012-10-30 16:00 ` Javier Sancho
1 sibling, 1 reply; 12+ messages in thread
From: David Pirotte @ 2012-10-29 17:41 UTC (permalink / raw)
To: Aleix Conchillo Flaqué; +Cc: Ian Price, Thien-Thi Nguyen, guile-devel
Heya
lib wraper experts,
> I also created a couple of python scripts to create the C and FFI
> bindings template given a header file (under tools directory), you
> might find them useful.
Please let's all do the same and not reinvent the wheel, rather get the doc/scripts
which exists better ...
Andy updated the 'HACKING' file on top level git tree of guile-gnome and/or
guile-clutter, which explains how to and how he did it, with an example... that's
how guile-clutter has just been wraped ...
Cheers,
David
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-29 17:41 ` David Pirotte
@ 2012-10-29 17:54 ` Aleix Conchillo Flaqué
0 siblings, 0 replies; 12+ messages in thread
From: Aleix Conchillo Flaqué @ 2012-10-29 17:54 UTC (permalink / raw)
To: David Pirotte; +Cc: Ian Price, Thien-Thi Nguyen, guile-devel
On Mon, Oct 29, 2012 at 10:41 AM, David Pirotte <david@altosw.be> wrote:
> Heya
> lib wraper experts,
>
> Please let's all do the same and not reinvent the wheel, rather get the doc/scripts
> which exists better ...
>
> Andy updated the 'HACKING' file on top level git tree of guile-gnome and/or
> guile-clutter, which explains how to and how he did it, with an example... that's
> how guile-clutter has just been wraped ...
>
Unfortunately, I am not an expert at all :-). Actually it was my first
try to wrap a library and I don't even remember how I started, but
certainly I didn't read the file you mention. May be I would have read
it if I knew it existed :-).
Thanks for the heads up!
Aleix
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Guile OpenGL
2012-10-29 17:30 ` Aleix Conchillo Flaqué
2012-10-29 17:41 ` David Pirotte
@ 2012-10-30 16:00 ` Javier Sancho
1 sibling, 0 replies; 12+ messages in thread
From: Javier Sancho @ 2012-10-30 16:00 UTC (permalink / raw)
To: Aleix Conchillo Flaqué; +Cc: guile-devel
Aleix Conchillo Flaqué wrote:
> If you haven't done anything yet, I started to work in the OpenGL
> bindings a while ago. If you like it may be you can continue working
> on that.
>
> https://github.com/aconchillo/guile-gl
>
> I also created a couple of python scripts to create the C and FFI
> bindings template given a header file (under tools directory), you
> might find them useful.
Great job, Aleix!!
I'm working with Andy's templates, but his scripts are designed for
gnome libraries, so maybe I can use some pieces of your code.
As soon as I get something working, I'll share it.
--
Javier Sancho Fernández - http://www.jsancho.org/
Associate Member of the Free Software Foundation - http://www.fsf.org/
Contra el DRM - http://www.defectivebydesign.org/what_is_drm
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2012-10-30 16:00 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-23 6:34 Guile OpenGL Javier Sancho
2012-10-23 18:12 ` David Pirotte
2012-10-24 8:14 ` Javier Sancho
2012-10-24 12:51 ` David Pirotte
2012-10-24 14:32 ` David Pirotte
2012-10-24 15:23 ` Javier Sancho
2012-10-27 19:42 ` Ian Price
2012-10-28 6:03 ` Javier Sancho
2012-10-29 17:30 ` Aleix Conchillo Flaqué
2012-10-29 17:41 ` David Pirotte
2012-10-29 17:54 ` Aleix Conchillo Flaqué
2012-10-30 16:00 ` Javier Sancho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).