Comments (6)
Hi,
I looked at your code, and the problem comes from the loading of your JS code: you are trying to get the canvas whereas the page is not loaded yet.
Try to copy paste your Babylon JS code after < /body>, it should work ;)
If you want to learn more, you can try our tutorials: https://github.com/BabylonJS/Babylon.js/wiki/Tutorials
Thx,
Guillaume
from babylon.js.
Could you try with Firefox? Some browsers have a black list for specific drivers and can block webGl in this case :(
from babylon.js.
On 13-08-13 13:18 , deltakosh wrote:
Could you try with Firefox? Some browsers have a black list for
specific drivers and can block webGl in this case :(—
Reply to this email directly or view it on GitHub
#13 (comment).
Hi,
Same problem with Firefox 23.0 on Mac, and also with Safari 5.1.9.
(Both of these handles the WebGL in
http://learningwebgl.com/lessons/lesson05/index.html without problems.)
I'd love to see Babylon.js working on Mac. ;-)
/Jon
from babylon.js.
It works on several Mac I tested :(
Could it be linked to an old video driver?
from babylon.js.
On 13-08-13 13:33 , deltakosh wrote:
It works on several Mac I tested :(
Could it be linked to a old video driver?—
Reply to this email directly or view it on GitHub
#13 (comment).
You can have a look at my code here and see if I've missed something:
https://dl.dropboxusercontent.com/u/48186945/web/webgl/test.html
I get the same "Uncaught Error: WebGL not supported" in the log of
Chrome (28.0.1500.95 m) on Windows.
/Jon
from babylon.js.
On 13-08-13 14:30 , Guillaume wrote:
Hi,
I looked at your code, and the problem comes from the loading of your
JS code: you are trying to get the canvas whereas the page is not
loaded yet.
Try to copy paste your Babylon JS code after < /body>, it should work ;)If you want to learn more, you can try our tutorials:
https://github.com/BabylonJS/Babylon.js/wiki/TutorialsThx,
Guillaume—
Reply to this email directly or view it on GitHub
#13 (comment).
Hi Guillaume,
You're absolutely right. Thanks a lot! It now works fine in all my browsers.
/Jon
from babylon.js.
Related Issues (20)
- Missing Havok Physics World Speed Limit Set/Get Functions
- ScrollView GUI element with large single object has scrolling issues
- Shadows look weird HOT 2
- Feature request: Clustered lights HOT 1
- Cannot build. Missing ImageEncodeOptions, VideoFrame, etc. HOT 4
- [Physics] would like to have motorized constraints added. HOT 1
- Internal types exported in definition types. HOT 1
- scene.ambientColor does not work HOT 1
- ParticleSystem of type "CylinderDirectedParticleEmitter" dont convert direction vectors HOT 1
- PhysicsAggregate does not update mesh with setAngularVelocity and setLinearVelocity after 7.2.1 update HOT 5
- [XR] Failproof the snippet reference in NearInteraction
- Yoyo animations trigger onAnimationGroupLoopedObservable multiple times per loop
- Add support for IES Light Profiles HOT 2
- Improve new texture support in Particle System Editor
- NGE nodes and ports exposed on frame don't export
- GLB Import Not Displaying in BabylonJS Sandbox HOT 2
- 7.4.0 and Custom Procedural Textures HOT 1
- [XR] Update depth sensing implementation to support the new specs
- Specular/Glossiness material to Metal/Rough material conversion HOT 1
- GUI JSON parse - provide callback to allow updating link URLs from development to production servers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from babylon.js.