[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] loading models with textures from local disk?



Hi,

On Fri, Jun 24, 2011 at 14:52, Evgeny Demidov <demidov@ipm.sci-nnov.ru> wrote:
> in Firefox 6
> Error: uncaught exception: [Exception... "Failure arg 5
> [nsIDOMWebGLRenderingContext.texImage2D]" Ânsresult: "0x80004005
> (NS_ERROR_FAILURE)" Âlocation: "JS frame ::
> file:///E:/w3/ibiblio/webgl/models/jupiter.html :: <TOP_LEVEL> :: line 164"
> Âdata: no]

This is due to same-origin restrictions on file URLs.
In Firefox you can workaround this by changing
security.fileuri.strict_origin_policy in about:config


Regards,

-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------