Cannot display WebGL geometry via Three.js
I have developed a three.js component that works without issue on chromium. On Firefox, part of it does not display.
<unable to upload images, the upload hangs <- happy to send via email>
See chromium.png for how it should look. In firefox.png you can see that it is missing the surface area. For reference, the 3d axes shown are three.js components also.
firefox_console.png shows issue loading webgl
firefox_console_after_force_enable.png shows the same after webgl.force_enable was set to True in the config.
Can you offer any advice here? Our customer is keen to continue using FF.
Thanks in advance. Scott
All Replies (4)
Thanks for getting back to me TyDraniu.
I am having difficulty to make this work on fiddle with the number of components involved.
However I've narrowed the issue down to Firefox not using a datauri in place of a file, which is fed into a loader (PLYloader).
Hopefully the following will help to explain, using Sean Bradley's tutorial here:
He is using the PLYloader to load an external .ply file. I am sidestepping a file and building a datauri instead. It seems to be this part that fails to load.
If you substitute 'models/sean4.ply' for
it gives a good representation of my problem. In chromium you will see two triangles, in firefox nothing is displayed.
Hopefully some images will attach this time.
Can someone advise how to chase this further? I would like to reach out to mozilla developers if possible.