Jump to content

I can't load the texture ground of the scene


Gamerazor
 Share

Recommended Posts

I have a problem with babylon.js. I can't load the texture ground in this scene:

5331fda84076a.png

 

and I get this error in Firefox and Midory:

[23:24:40.378] "Valid manifest file not found. Scene & textures will be loaded directly from the web server." 

This is my code html5 :

<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="es"><head>	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>    <title>Using babylon.js - How to load a scene</title>    <script src="babylon.1.9.0.js"></script>    <script src="hand-1.3.7.js"></script>    <style>        html, body {            width: 100%;            height: 100%;            padding: 0;            margin: 0;            overflow: hidden;        }         #renderCanvas {            width: 100%;            height: 100%;        }    </style></head><body>    <canvas id="renderCanvas"></canvas> </body></html> <script>    if (BABYLON.Engine.isSupported()) {        var canvas = document.getElementById("renderCanvas");        var engine = new BABYLON.Engine(canvas, true);                              BABYLON.SceneLoader.Load("", "/scenes/suelo.babylon", engine, function (newScene) {                        // Wait for textures and shaders to be ready            newScene.executeWhenReady(function () {                // Attach camera to canvas inputs                newScene.activeCamera.attachControl(canvas);                  // Once the scene is loaded, just register a render loop to render it                engine.runRenderLoop(function() {                    newScene.render();                });            });        }, function (progress) {            // To do: give progress feedback to user        });            }</script>

and this an  image of my scene in blender:

 

5331fd0bc18f8.jpg

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