kripken / box2d.js

Port of Box2D to JavaScript using Emscripten
1.33k stars 196 forks source link

Hosted webgl_demo fails for me. #41

Open eahutchins opened 11 years ago

eahutchins commented 11 years ago

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).

kripken commented 11 years ago

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.

PSeitz commented 10 years ago

Same here for version 31.0.1650.63

imsky commented 10 years ago

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

kripken commented 10 years ago

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

On Wed, May 7, 2014 at 2:19 PM, Ivan Malopinsky notifications@github.comwrote:

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 .

imsky commented 10 years ago

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

kripken commented 10 years ago

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/ ?