box2d.js icon indicating copy to clipboard operation
box2d.js copied to clipboard

Hosted webgl_demo fails for me.

Open eahutchins opened this issue 10 years ago • 6 comments

http://kripken.github.io/box2d.js/webgl_demo/box2d.html isn't working for me on Chrome 31.0.1612.0 dev. I see no rendering but get this on the console:

Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Math.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Shader.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Material.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Utility.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.MainLoop.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Mesh.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Texture.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.UVMapper.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Renderer.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Light.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Camera.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Scene.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.PostProcess.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Motion.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Layout.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Primitives.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.COLLADA.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.GML.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Particles.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Landscape.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Octree.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Worker.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.CVRXML.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.Polygon.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.CollisionMap.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://kripken.github.io/source/CubicVR.ScenePhysics.js
CubicVR Log: Calibrated maximum lights per pass to: 1 CubicVR.min.js:13
50
Uncaught Error: Could not initialise shader vert(#define loopCount 1

The last error repeats.

I get the same thing when I self-host (the html5_canvas demo works fine for me).

eahutchins avatar Oct 27 '13 19:10 eahutchins

Works for me on Chrome 30 and Firefox 27. If Chrome 31 is broken, please file an issue on Chromium and link to it here.

kripken avatar Oct 27 '13 23:10 kripken

Same here for version 31.0.1650.63

PSeitz avatar Jan 02 '14 16:01 PSeitz

I get the same error. The demo works fine in Firefox 29.

imsky avatar May 07 '14 21:05 imsky

Works for me in firefox nightly. Perhaps a temporary github network error?

On Wed, May 7, 2014 at 2:19 PM, Ivan Malopinsky [email protected]:

I get the same error. The demo works fine in Firefox 29.

— Reply to this email directly or view it on GitHubhttps://github.com/kripken/box2d.js/issues/41#issuecomment-42484507 .

kripken avatar May 08 '14 00:05 kripken

No, the bug can still be replicated. Screenshot attached.

imsky avatar May 12 '14 18:05 imsky

Ok, perhaps a chrome-specific bug with CubicVR.js (the rendering library used). Perhaps someone can file a bug on https://github.com/cjcliffe/CubicVR.js/ ?

kripken avatar May 13 '14 17:05 kripken