web API and rendermode attribute
Hi,
I'm working on a videogame in the browser and I'm trying to import it in max through jweb.
I'd like to know if the standard DOM API are present in the jweb browser, as like as canvas etc..
Moreover I'd like to know if there's a way to access by jitter to the offscreen buffer used for rendering when the the render mode is offscreen, in order to apply realtime processing to the jweb rendered image. So i'd like to tapin the buffer before rendering, process the image and tapout the modified image in the buffer to be rendered.
Thanks
Matteo
If I remember correctly, [jweb] is a wrapper around the chromium browser engine, so it definitely handles canvas and the DOM API, otherwise most js based websites would not work.
However I'm not sure about accessing the jweb rendered image in jitter, I don't think it's possible.
But if you have control over the game itself, why not implementing your jitter stuff as a webgl shader running directly in your website, and using window.max.bindInlet() to send data from your Max patch to the game?
Thanks for your reply.
Yes, having the WebGL processing would be the best choice here, but I've decided to give a try to jitter because I'm not confident with complex webGL processing. Otherwise working in Jitter would be easier for me.
If there ever be a version of RNBO with jitter export to WebGL would be perfect!!