jit.gl.lua and jit.gl.text2d or jit.gl.text3d

Feb 27, 2008 at 9:08pm

jit.gl.lua and jit.gl.text2d or jit.gl.text3d

I’ve been banging my head against this wall all day…

I saw that someone on the list was having problems with jit.gl.text2d
in jit.gl.lua, but I’m not able to make it do anything. Would someone
mind showing me a simple patch that uses these jitter objects?

I assume it should be as easy as

render_context = this.drawto

myText = jit.new(“jit.gl.text2d”, render_context)
myText.text = “Why am I not on the screen?”

function draw()

but it is not working out at all. Any help would be great. I
pre-apologize if it’s an easy fix.


Feb 27, 2008 at 10:10pm

Please accept our apologies if you get multiple copies of this message

Computers in Music Modelling and Retrieval 2008

Genesis of Meaning in Sound and Music

19-23 May 2008, Copenhagen, Denmark
Conference and Festival website: http://www.re-new.dk

The extended submission deadline for papers and artworks is

March 9 2008
CMMR/NTSMB 2008 is proud to present David Huron as invited keynote
together with Danish electroacoustic composer legend Else-Marie Pade.

Mar 29, 2008 at 8:11pm

it turns out text is a method. try

myText.text(“this seems to work”)


You must be logged in to reply to this topic.