Forums > Jitter

how to make jit.gl.text3d text face a certain way?

March 13, 2009 | 10:54 pm

Hi,

I’m using jit.gl.text3d to label some blobs, I can make the text appear next to the blobs but when I use jit.gl.handle to give them a spin the text spins too and I can’t read it. I want the text to always remain next to the blob but always face the camera and remain horizontal. The jit.gl.text3d’s are a all hidden in an mxj which is basically wrapping around jit.gl.sketch.

Any ideas?

Robin


March 13, 2009 | 11:08 pm

I think this might be what you’re looking for.

http://www.cycling74.com/forums/index.php?t=msg&goto=158351&rid=3109&S=4a2eb6488c73e65a4dddac0c8b169800#msg_158351

Also, Wesley posted a billboarding shader a few months ago that I can’t seem to find on the forums at the moment. I’ve attached the shader and patch though.

best,
Zachary


March 14, 2009 | 12:09 am

Cheers Zachary this looks pretty useful.


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