-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
WebGL surface plot not rendering on Windows server #450
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
Comments
I'm not very familiar with Windows servers or what Viewer is. Could you provide some more detail on the issue along with the following:
|
Hi, I am currently running into this issue. From what I understand, this is only with the surface plot. This can be reproduced on both Chrome and Firefox, using a custom bundle. To be clear, I am in a React project, so I am using react-plotly.js to create my custom Plot element. The specific error message is Stack trace:
Upon closer examination at frame 2 (new Scene, line 282), we see that Let me know if this helps at all. |
I have traced this further, as I realized that the main bundle works correctly, but a custom bundle does not. The issue is not with the parameters, but rather the exception is coming from a shader compilation failure:
I'll continue digging to see if this is a straightforward fix. |
I probably could have made this into one post, but it looks like the issue is that glslify is not taking effect in glplot3d/lib/shader.js. In other words, the shader source is not being substituted for the shader file name. If I had to guess, there needs to be a browserify or pre-processing step for custom bundles that I am not doing at the moment. From what I understand, the prepackaged bundles don't have this problem since the shader sources are already embedded within the minified js. Any thoughts or recommendations would be appreciated. |
Thanks for the recommendation. I attempted to use plotly-webpack to generate a minified custom bundle, but when I loaded it into my application, I got the following errors:
If I had to guess, something isn't getting put in the custom bundle, but I'm not sure how to resolve this. |
@collielimabean maybe someone on https://community.plot.ly/c/plotly-js can help you out. |
Closing, probably obsolete. |
When I try surface plot in Viewer and Firefox on a Windows server, both say "Webgl is not supported by your browser - visit http://get.webgl.org for more info". But when visiting http://get.webgl.org in the error message shows a spinning cube.
The text was updated successfully, but these errors were encountered: