Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BABYLON.PointsCloudSystem is not a constructor #2

Open
flleeppyy opened this issue Feb 4, 2022 · 1 comment
Open

BABYLON.PointsCloudSystem is not a constructor #2

flleeppyy opened this issue Feb 4, 2022 · 1 comment

Comments

@flleeppyy
Copy link

Clicking the generate button throws an error.

Uncaught TypeError: BABYLON.PointsCloudSystem is not a constructor
    createGalaxy http://barth.paleologue.fr/solaris/simulations/galaxia/galaxy.js:171
    <anonymous> http://barth.paleologue.fr/solaris/simulations/galaxia/en.php:137
    jQuery 2
[galaxy.js:171:17](http://barth.paleologue.fr/solaris/simulations/galaxia/galaxy.js)
@BarthPaleologue
Copy link
Owner

Sorry I didn't answer earlier, i did not get the notification :/
Is it still broken and what browser are you using ?
It might be related to WebGL2 support, could you run this command in your browser's console ?

const gl = document.createElement('canvas').getContext('webgl2');
if (!gl) {
  console.log('your browser/OS/drivers do not support WebGL2');
} else {
  console.log('webgl2 works!');
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants