HTML5 Canvas 3D WebGL (TM) javaScript Library
 

Chrome Options for Local Use

For learning and testing reasons you might want to use taccgl™ locally, i.e. access pages with a "file:" url. Chrome and other webkit browsers have additional security checks for accessing local files that need to be relaxed using the following options:

--allow-file-access-from-files --enable-file-cookies

For various animations taccgl™ needs to download/access 3D model files and images used for textures, which means to access local files in this case. Make sure to understand the implications of these options e.g. in the chrome documentataion before use.

In order to set the options you need to restart chrome with the options (it is not sufficient to just start a new Chrome window in parallel with an already running chrome). To apply the options it is easiest to copy the chrome desktop icon, to open the context menu with the right mouse button, select "Properties" and to append the options to the program name e.g.

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
--allow-file-access-from-files --enable-file-cookies

Note that the installation path of chrome might vary on your system.

You can also start chrome from a command window using these options, however starting from the "run" entry in the windows start menu might not work.

WebGL™ is a trademark of the Khronos Group Inc.

Please Add a Comment or Question, click here!