xml3d / xml3d.js

The WebGL/JS implementation of XML3D
Other
75 stars 25 forks source link

Quickstart guides miss a mention that src requests usually fail when running scenes from filesystem #124

Closed tospie closed 8 years ago

tospie commented 9 years ago

xml3d.js retrieves linked resources for meshes, models, shaders and such via ajax requests. These requests fail in particular when trying to run an XML3D scene from the local file system, instead of starting it from a server.

For beginners, uploading the scene to some web server seems to be no natural step. The need to do so should be put prominently at the beginning of the quick start guides, especially as the simple teapot example from the Wiki already fails, if not doing so.

csvurt commented 9 years ago

I've added info about using XML3D locally to both the Getting Started and Basics of XML3D sections in the Wiki.

We should still output a warning if XML3D encounters any local filesystem paths. This should be scheduled as part of the resource manager overhaul in 5.1

csvurt commented 8 years ago

Trying to reference resources from a filesystem should now throw an error with a link to a Help issue with more information.