Forums > Jitter

dumb text2d scaling question

November 11, 2006 | 9:00 pm

Background
I’m writing a Jit/JS script for a horizontal multislider. I want to
draw numerical values centered vertically over each slider

The Objective:
Use jit.gl.text2d to draw a number centered between two openGL
heights such as -.5 and .5 . I need to keep the classic and
screenmodes in their default position.

Whats a guy gotta do to get his variables correct so he can render
OpenGL text in the correct position MultiBar program written in js so
that he can write a program which spits out rhythms which help him
create music?
art is about simplicity!

-matt


November 11, 2006 | 9:02 pm

doh! screenmode and classic are both off. question still stands



jml
July 15, 2009 | 2:04 am

I know that screenmode, interp, and classic behavior are all clearly stated as "mac only" in the docs, but would there be any chance that we might see this change in the future for XP?

I am working on a project where I find jit.gl.text2d incredibly useful and I’m finding that the scaling differs so much between fullscreen and default sizes of the jit.window context I am drawing to that it’s frustrating to work with.

Thanks for any thoughts of alternatives as well,
jml


Viewing 3 posts - 1 through 3 (of 3 total)