Jump to content

INcluded files? & downloaded zip won't run


webGLmmk
 Share

Recommended Posts

Do I still need to include hand, cannon, and oimo files in the <head> of a local document? Or are they integrated into the main babylon.js cdn link? Just noticed the links are no longer on the github page...

It's been a bit...

Also, when I download the zip for the playground basic scene, then open it up, it renders fine.

When I open the following scene with a procedural texture, i just get white screen. ,, *edit*... uploaded to github and it won't run there either. This was the same file from the downloaded zip in the following playground scene...has preview links... hashtag confused

https://www.babylonjs-playground.com/#KM3TC#20

 

Link to comment
Share on other sites

4 hours ago, Deltakosh said:

So the demo works on PG correct?

your issue is when you download the zip? Did you serve it from a local web server ?

The demo does work on the playground. Just tried it from my local webserver (apache 2 var/www etc). I tried 2 files that I downloaded from the playground: 1 the basic scene with the sphere and plane (the one that first appears default on the playground), and my custom scene with the procedural texture:

https://www.babylonjs-playground.com/#KM3TC#20

The first file with the basic scene ran in my browser, but my custom one here did not. Still white screen.

Thanks...

Link to comment
Share on other sites

2 hours ago, sable said:

I would guess that you need to include the procedural texture in your project.

https://preview.babylonjs.com/proceduralTexturesLibrary/babylon.fireProceduralTexture.min.js

Great...it worked as long as I was running it through the server. So is the server is needed because of the procedural texture? I don't think I can run it on github then...still not running the file there, or locally without going through the server...that going to have to find an actual host...

Also, kinda silly noob question, but I was looking around github to find where you got that link, in case I needed the other ones...is there a convenient place where you copy and paste it from? It didn't work when i just copied a raw link from within the dist/preview folders

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...