From: vimml@selgrad.org
To: guile-user <guile-user@gnu.org>
Subject: Re: Guile OpenGL bindings
Date: Fri, 1 Feb 2013 21:56:11 +0100 [thread overview]
Message-ID: <20130201205611.GA17180@debian> (raw)
In-Reply-To: <CAN3veRdVj_Yzh4gGfqP4_QY4tU_cRG=nbV+_rdxuDP1K9zW-3w@mail.gmail.com>
Hej,
this all sounds really cool :-)
I hacked a little bit of code to generate C bindings for what is specified in
the glcorearb.h file. I also wrote a small script to extract the gl constants
and define them as scheme variables.
This is all *really* hacky stuff, but if somebody wants to have a lookt at it...
On 21:29 Fri 01 Feb , Daniel Hartwig wrote:
> The real critical part will be how the user manipulates their vertex
> data, if this is done frequently on the scheme side. Mapping (typed)
> bytevectors, or srfi-4 to gl arrays will help with that, and avoiding
> the implicit type conversions that some other bindings perform.
I did use r6rs bytevectors (bytevector-ieeee-single-native-ref...) to plow
through my data and it was rather sluggish. It's quite possible that I did
someting terribly wrong, but I went back to do the crunching in C...
On 13:16 Fri 01 Feb , Andy Wingo wrote:
> https://gitorious.org/guile-figl
Looking forward to have a look at your code :-)
Happy Hacking,
Kai :)
next prev parent reply other threads:[~2013-02-01 20:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 12:16 Guile OpenGL bindings Andy Wingo
2013-02-01 13:02 ` Javier Sancho
2013-02-01 13:29 ` Daniel Hartwig
2013-02-01 15:10 ` Mark H Weaver
2013-02-01 20:56 ` vimml [this message]
2013-02-01 23:54 ` Daniel Hartwig
2013-02-02 7:10 ` Aleix Conchillo Flaqué
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130201205611.GA17180@debian \
--to=vimml@selgrad.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).