[x3d-public] How is a shader chosen in X_ITE? Looks like it works (at least at first, and then disappears?)

John Carlson yottzumm at gmail.com
Sun Jul 4 14:32:57 PDT 2021


On 7/4/21 3:26 PM, John Carlson wrote:
> This works!
>
> https://localhost:3000/src/main/html/bubbles.html
>
> I finally got this to work (clearing cache worked):
>
> https://coderextreme.net/X3DJSONLD/src/main/html/bubbles.html

Clearing cache in Chrome worked too:

https://coderextreme.net/X3DJSONLD/src/main/html/bubbles.html

Has a tiny flash between animations.

However, getting:

Getting "WebGL warning: uniform setter: No active linked Program."  In 
Firefox, which seems like false negative? Things are working pretty good 
in Firefox and Chrome.   Chrome throws no warnings.

=====================================================================

>
> This one flashes to white and black.
>
> https://coderextreme.net/X3DJSONLD/src/main/html/mirrors.html
>
> I've been having issues with caches not clearing in Firefox, will try 
> Chrome.

Chrome has flashing too.

https://coderextreme.net/X3DJSONLD/src/main/html/mirrors.html

I'll review my JavaScript later.  Any feedback is welcome, but not 
required or even necessary at this point.  Likely, I'm doing something 
in JavaScript like switching to a blank frame.

I was able to clear cache in Firefox finally, but the x_ite shaders 
appear to be having issues, see above.

Some problems are likely caused because I'm not pre-caching images.

===============================================================

For this, it appears that x3dom and PlayCanvas shaders are still loaded, 
which is normal, because they should fail, and only the x_ite shaders 
should work.

https://coderextreme.net/X3DJSONLD/src/main/html/x_itecomposed.html

Let me know if x_ite.js seems safe from tab crashes.

John




More information about the x3d-public mailing list