Questions about live text input and errors
Pretty new to Max, but I am currently using it for an installation that has a 3d-motion activated mesh accompanied by floating lines of text that change intermittently. Is there any way that when the max patch is locked and on display for an installation, I can have attendees type sentences, press enter, and have them simultaneously create a new text line and add one number to the range of urn? I've attached a copy of a patch that has simply the text component to show how I'm generating the text at the moment (from a standard text object). Because of the positioning, if you toggle jit.world, you will have to click reset to see the text generating. Any help or advice would be greatly appreciated.
On another note, when running this simple patch, I am seeing this message in the inspector: "jit.gl.text: jit_gl_geometry_draw_buffers: GL Error: Invalid operation". I have no idea what this means, and searching has got me nowhere so far. It shows up clear, not red like an error, and doesn't stop the text from generating. In my other patch, however, it has caused random letters in sentences to not show up. I've also noticed that the jit.gl.textmult object examples simply will not work on my computer. I'm wondering if anyone else has encountered similar issues with the text objects.
to insert typed text into text object, you can use text edit,
each time new typed text gets output, query text length
to set urn size.
this example here reads text file and appends type lines.
Thank you for the input. Unfortunately, I could not find a way to get this method to work when the jit.world is fullscreen, so I searched for other methods. I did find a method that works for taking text input as a message without my having to click the object in the patch like textedit, however I've encountered a strange problem. When I fullscreen the jit.world object and type and press enter, random characters get dropped from the message. The spacing remains, as if a letter should be there, and there is no consistent pattern I can discern (e.g., an 'e' will drop out in one word but not another). When I am not in fullscreen, the object works perfectly. Perhaps someone can explain what's going on here? I've attached an updated version of the above patch to illustrate
no problem here with fullscreen mode, here is cleaned patch