[javascript-dev] Re: jsui was a mistake.
Thijs Koerselman
thijskoerselman at gmail.com
Thu Oct 4 07:33:53 MDT 2007
- Previous message: [javascript-dev] Re: jsui was a mistake.
- Next message: [javascript-dev] Re: jsui was a mistake.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10/4/07, joshua goldberg <wugmump at speakeasy.org> wrote: > what about using jit.gl.lua in a jit.pwindow? It works, but an integrated solution would be much nicer imo. 2 issues with this workaround that come to mind: - you can't know when to update your window, so you're always updating even though your pwindow might not be visible at the time. - there is no equivalent to jitter listener in jit.gl.lua. afaik. You have to manually connect the mouse events of the window to jit.gl.lua I totally agree with Invect. I've tried to do serious UI design in both JSUI and JS+gl.sketch+pwindow. The latter being an order of magnitude faster obviously. In my last attempt (multilayer sequencer and curve editor) I wasted a lot of time only to end up with an unscalable and slow 3000+ lines Javascript file that is now useless to me. If I could go back I'd now probably do the whole thing in C++ but that kind of defeats the idea of using Max for me. I'd end up with something more like a standalone app rather than dynamic and reusable Max components. Since the arrival of Lua support in Max I've been investigating several ways to design a UI library to be used with jit.gl.lua, but I fear I might not have the time or the experience to come up with a sustainable solution on my own. If Lua ever will be fully integrated with Max, similar to Javascript is now (UI design + Pattr support), I'd be an extremely happy person. My 2 cents, Thijs
- Previous message: [javascript-dev] Re: jsui was a mistake.
- Next message: [javascript-dev] Re: jsui was a mistake.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
