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()
myText:draw()
end
but it is not working out at all. Any help would be great. I
pre-apologize if it's an easy fix.
Thanks,
Keith
Please accept our apologies if you get multiple copies of this message
---------------------------------------------------------------------
REVISED SUBMISSION DEADLINE: 9 MARTS 2008
---------------------------------------------------------------------
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.
---------------------------------------------------------------------
it turns out text is a method. try
myText.text("this seems to work")