-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sprites and WebGL problems #109
Comments
Slack:
In 038b14a, I eliminated the unnecessary WebGL contexts that were being created for the screen icons. After adding But with Without
|
…le. We need to maintain premultiplied output. See phetsims/faradays-electromagnetic-lab#109
I was incorrectly handling premultiplied alpha (fixed above). Adding webgl:true to FELSim gives the proper appearance for the field nodes, but I saw:
and I wasn't sure I could immediately tell the difference. @pixelzoom can you let me know if this is resolved (when the webgl flag is added), or more information on how to identify what is wrong? |
Thanks @jonathanolson, field visualization and electrons look great with Closing. |
This sim makes us of scenery Sprites for the B-field visualization and for animation electrons.
In Slack#DM with @jonathanolson, I discovered that WebGL will not be used for Sprites unless I also provide
webgl: true
to Sim. I attempted to add that option like this:At startup, the sim prints this warning 7 times:
... then immediately failis with:
@jonathanolson can you please have a look?
The text was updated successfully, but these errors were encountered: