It feels like Javascript has matured to the point that it might be possible to write Rhino3d on the web
In any case, here is a recreation of a 3d viewport in Javascript (using WebGL) and manipulating a Rubik’s cube.
If anyone has the time maybe you can test it on your end to see if all the functions work (?)
I know MS Edge and Internet Explorer do NOT work at all (so no need to try there).
It should be ok on Chrome and Firefox, but I have no idea about Safari and Opera, or other browsers.
MS Edge does have WebGL support and it seemed to work until about a week ago. The last update did something and now it is fails with a linker error and without giving me any verbose reasons why. (The shader files compile, so it is almost there by a hair).
Thanks for checking FF nightly!
It does seem bizarre, but since FF quantum (57) works fine during my tests, I am going to wait a little; assume it is something on their end.
Hm. All the corner ones have exactly one good face and two corrupted ones. Alll edges have one good and one corrupt face. Seems weird. Surely no coincidence? Are your decals messing this up? Are they transparent?
It probably has to do with a hack I had to apply to the shader to overcome a WebGL1.0 limitation for selecting texture units to apply to a face. It looks like it is trying to use two textures at once. The other problem is that I am not seeing this on my end, so I am guessing.
I made a small tweak. Could you clear the cache in your browser and try one more time ?
I wasn’t having high hopes for mobile devices (and I haven’t implemented touch aware controls yet), but could you run this page on the ipad and show me what it reports ? http://webglreport.com/