GithubHelp home page GithubHelp logo

Comments (6)

melaugui avatar melaugui commented on May 13, 2024 1

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.

deltakosh avatar deltakosh commented on May 13, 2024

Could you try with Firefox? Some browsers have a black list for specific drivers and can block webGl in this case :(

from babylon.js.

jkleiser avatar jkleiser commented on May 13, 2024

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.

deltakosh avatar deltakosh commented on May 13, 2024

It works on several Mac I tested :(
Could it be linked to an old video driver?

from babylon.js.

jkleiser avatar jkleiser commented on May 13, 2024

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.

jkleiser avatar jkleiser commented on May 13, 2024

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

Thx,
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.