Title: webgl mandelbulb Post by: MrMike on December 14, 2011, 03:11:28 AM Hey everyone, my group has been working on a school project porting over subblues mandelbul equations into a webgl app and adding more options to them...
however we have been having a real hard time getting it to work on windows, if anyone has any webgl experience I'd love for you to take a look at our code, you can also just take a peek if your curious, but we have only been able to get it running on mac and linux systems so far... choose a branch, go to 3dmandelbrot.html, click view raw file on left side http://code.google.com/p/webgl-mandelbulb/source/browse/ (http://code.google.com/p/webgl-mandelbulb/source/browse/) let me know if it works, or if it gives a helpful error message PLEASE post it ("failed to initialize webgl!" is not helpful) Title: Re: webgl mandelbulb Post by: Syntopia on December 14, 2011, 10:58:37 AM I had the same problem with my WebGL Mandelbulb test: http://t.co/PaBdK2DP
It's likely an error in the ANGLE layer, used by both Firefox and Chrome to convert OpenGL code into Direct 3D calls: http://code.google.com/p/angleproject/ In Firefox you can turn off ANGLE emulation by typing 'about:config' in the URL field and setting: webgl.force-enabled=true webgl.prefer-native-gl=true If I do this, your code runs fine on my machine (Windows Vista, Firefox 8.0, and a Geforce 570GTX). Title: Re: webgl mandelbulb Post by: marius on December 14, 2011, 08:37:17 PM I had the same problem with my WebGL Mandelbulb test: http://t.co/PaBdK2DP It's likely an error in the ANGLE layer, used by both Firefox and Chrome to convert OpenGL code into Direct 3D calls: http://code.google.com/p/angleproject/ In Firefox you can turn off ANGLE emulation by typing 'about:config' in the URL field and setting: webgl.force-enabled=true webgl.prefer-native-gl=true If I do this, your code runs fine on my machine (Windows Vista, Firefox 8.0, and a Geforce 570GTX). :police: Beware that Angle is a sanitization layer as much as a translation / emulation layer, so cutting it out opens your setup up for direct abuse from malicious webpages. The video drivers and libraries tend not to be very good at anticipating malicious inputs and thus remote code execution might ensue. Best to flip that switch only temporarily. |