rotate text in javascript jsui


    Feb 09 2006 | 7:41 pm
    messing around with the jsui_roundedlabel example. I'd like to turn the text on its side, but a glrotate(90,0,0,1) only rotates the roundedplane, and not the text. So perhaps, I need to rotate the "world" somehow - but none of the gl parameters in the Max Javascript manual look like they perform that type of translation.
    Is there a way to do this?
    p.

    • Feb 09 2006 | 7:44 pm
      The only way to currently accomplish this is the following:
      - Draw text to a separate instance of Sketch
      - Generate Image object from Sketch object
      - Use Image object as texture
      -Joshua
    • Feb 09 2006 | 9:56 pm
      check out my showme.js from matsui. my library has some bugs
      but this should be a good example
      . . . . . . . . . . . .
      Http://www.EstateSound.com
      Http://ideasforstuff.blogspot.com
      . . . . . . . . . . . .
    • Feb 10 2006 | 3:22 pm
      wow, there's a lot of good ideas in there. Found the "showme" - I'll take a closer look.
      peter.