-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trying out headless-gl [DO NOT MERGE] #964
Conversation
Signed-off-by: tech4GT <varun.gupta1798@gmail.com>
Hi @jywarren I think we might need to re-write a lot of the code for this to work, at which point it only makes sense to separate the node and browser code for gl based modules. |
Okay so I have narrowed done the current issue, it lies with the |
Let's not give up and do a big refactor just yet... if you do want a simple WebGL demo to try, you could look at:
You could also potentially search the |
Noted links in @Divy123's issue here: stackgl/headless-gl#143 |
@jywarren SO the official documentation says we can just drop a Uint8 array image data and it should work, but that clearly is not working since that is generating a type error. One of the accepted types was ImageData which I am using but the pixels in |
The documentation does say there is no explicit support for this. |
Hmm, ok, so perhaps we should add to/rename/open new issue for asking
specifically: 1. for any example code showing this in use, 2. a test
exhibiting this?
We can also ask if they can point us at the section of code where this is
accepted as a parameter and inspect how it's used there to ensure we know
exactly the format they are expecting... and/or dig ourselves a bit!
…On Mon, Apr 1, 2019 at 10:29 AM Varun Gupta ***@***.***> wrote:
https://www.npmjs.com/package/headless-gl#how-are-image-and-video-elements-implemented
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#964 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ4KE90VIRda1Z2uSm1_z8LRuLSXLks5vchejgaJpZM4cUVQR>
.
|
Signed-off-by: tech4GT <varun.gupta1798@gmail.com>
@jywarren Yeah! I also tried it the way they mentioned here https://github.com/stackgl/headless-gl/pull/53/files#diff-c24e210c8552e30550810a8b75aa1cdaR101 |
@jywarren Should I open an issue over at their repository or would you?? 😄 |
If you could, that'd be great! Link back here please? Thank you! |
We use pupeteer now. Also this solution is not very good. We'll have to do something new. I will try to figure something out. |
cc @jywarren