[GEM-dev] Lua an GEM
Hans-Christoph Steiner
hans at eds.org
Thu Jan 24 06:48:17 CET 2008
On Jan 15, 2008, at 10:59 PM, Wesley Smith wrote:
> On Jan 15, 2008 7:53 PM, marius schebella
> <marius.schebella at gmail.com> wrote:
>> hi,
>> the timing and erasing is usually done by the gemwin. afaik there
>> is no
>> way to get the erase trigger and the render trigger as two separate
>> events from gemwin.
>
> Ok, I'm actually not trying to get the render trigger. I'm looking
> for an event like dest_closed where dest would be the window and the
> window is closing. How does, for example, a texture in GEM deallocate
> its resources properly? I'll take a look at the source and see.
>
>> do you have a working luagl version for os x?
>
> Yes
>
>> do you also have the
>> problem that the gemwin doesnot come to the foreground? are you on
>> mac
>> at all?
>
> I actually don't have pd and GEM installed. I'm simply building a Lua
> module called glo (GL Objects) that contains shaders, textures, slabs,
> etc. These things need events that indicate information about the
> context to properly manage opengl resources. With this thread, I was
> trying to find out if there was a simple way to plug into such events
> (if they even existed). I don't really plan on downloading GEM, I'm
> just trying to make sure the design of the glo Lua module is flexible
> enough to support a wide range of embedding contexts.
FYI: Pd doesn't need to be installed. So if you want to test
something, just download the dmg and double-click it to run it.
It'll leave no trace on your computer, unless you click "save all
settings" the preferences.
http://puredata.info/downloads
or for Leopard (test build):
http://autobuild.puredata.info/auto-build/2007-12-31/Pd-0.40.3-
extended-20071231-macosx104-i386.dmg
.hc
>
> best,
> wes
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
------------------------------------------------------------------------
----
Terrorism is not an enemy. It cannot be defeated. It's a tactic.
It's about as sensible to say we declare war on night attacks and
expect we're going to win that war. We're not going to win the war
on terrorism. - retired U.S. Army general, William Odom
More information about the GEM-dev
mailing list