Loading models from URI

De TriLib
Ir para navegação Ir para pesquisar

A recurrent issue when loading models from URI is caused by Cross-Origin Resource Sharing restrictions, resulting in the error message "TriLib is unable to load the given file."

For instance, web servers can use these restrictions to prevent unauthorized websites from making requests to the server.

This issue should not happen when loading models using TriLib from a desktop or a mobile application.

To get more information on Cross-Origin Resource Sharing, please refer to:

https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS