javascript null class pointer creating jit.gl.text3d


    Mar 14 2019 | 9:36 pm
    Hey folks, I am trying to create some gl objects from javascript. I seem to be able to create a "jit.gl.gridshape" with no problem. But when I try to create a "jit.gl.text3d", I get the following error:
    jsjitterobject_Constructor: null class pointer jit_gl_text3d
    Is there any reason why I would not be able to create this object?

    • Mar 14 2019 | 11:30 pm
      create a "jit.gl.text" and set the "mode" attribute to "3d"
    • Mar 15 2019 | 4:48 pm
      Ahhh I see, got it. It is working now. Thanks!
    • Mar 15 2019 | 5:48 pm
      Another quick question...
      I am trying to send a message to "jit.gl.text" to set the text. Here is my code...
      var gridShapeLabel = new JitterObject("jit.gl.text", context); gridShapeLabel.message("text", "Test");
      I get the following error: js: testcode.js: Javascript TypeError: gridShapeLabel.message is not a function, line 79 Is there something I am missing here? What is the best practice for sending a jitter object a message?
    • Mar 18 2019 | 3:27 pm
      Any ideas?
    • Mar 18 2019 | 4:46 pm
      gridShapeLabel.text("Test");