   Visual glBlendFunc Tool
  Hi everybody. I recently needed a better overview over how glBlendFunc worked and I wanted a quick and easy way to test all kinds of parameters without having to recompile. It resulted in this HTML5 tool: (it requires Firefox, Chrome or Opera)http://www.andersriggelsen.dk/OpenGL/It supports all the parameters glBlendFunc() takes and you can also specify a color for glBlendColor.There is also a checkbox for using premultiplied alpha textures.What do you think? Is it helpful to you in any way? :)   
  This is awesome, but I'd prefer a standalone app where I can input my own images. The concept is excellent though.   ;  Pretty neat tool ;)As above, it would be cool if you could supply your own images (maybe you could let the user enter 2 URLs?), or at least be able to see the RGB and Alpha channels of the built-in images.   ;  Supplying your own images should be simple though, I will add that :)Also being able to see the alphachannels seperately is a good idea. Will add that :)   ;  Very very helpful, it's just found it's way into my bookmark list.Well done and thank you!   ;  I have added those features now.Do a hard refresh by pressing Ctrl+F5 if you have the old page cached.I'm currently trying to find a way to get around a &#106avascript security feature that removes the ability to load remote images from other websites.;Quote:Original post by AndersRI'm currently trying to find a way to get around a &#106avascript security feature that removes the ability to load remote images from other websites.You need a server-side script (generally in php), which resides on your server (so that &#106avascript can access it), and proxies the remote image (since php doesn't have the same security restriction vis a vis remote sites).If you google for 'AJAX proxy', you should get many results.   ;Quote:Original post by swiftcoderYou need a server-side script (generally in php), which resides on your server (so that &#106avascript can access it), and proxies the remote image (since php doesn't have the same security restriction vis a vis remote sites).If you google for 'AJAX proxy', you should get many results.Yeah, I was hoping I could get around the problem another way (security concerns) but it seems that is impossible. I have made a simple proxy script now. Ctrl+F5 to be sure you have the latest copy running in your browser :);  Very nice!   ;  I have just added an option for glBlendEquation. You can now visualize three times as many effects as before :)   