[Newbie] Working with 3D, light, etc

Hi,

I am trying to babylon and I would like to do this in the project:
http://3d.edenczyk.pl/
codes here:
https://www.babylonjs-playground.com/#4CYQ9X#20

Perform:

  1. Element node_id4 rotate 45 degrees (after 60 seconds) - I tried to do it in function: extract_meshes
  2. Add strong lights inside the monk’s character (lightLH, lightRH)
  3. From this black mark send light towards the monk (also can be as particles)

As if some of you have found a moment to look at I will be obliged!

Another try:

    var delayCreateScene = function () {
    
    var scene = new BABYLON.Scene(engine);  

    BABYLON.SceneLoader.Load("http://3d.edenczyk.pl/final/", "scene.babylon", engine, function (newScene) {
                newScene.clearColor = new BABYLON.Color3(0, 0, 0);
                
                newScene.activeCamera.attachControl(canvas);
               // var music = new BABYLON.Sound(null, "http://3d.edenczyk.pl/objects/gongs.mp3", scene, null, {
               //     loop: true,
               //     autoplay: true
               // });
               // music.play();

                engine.runRenderLoop(function() {
                    newScene.render();
                });
        
                scene = newScene;
            });

    return scene;
};

Loading scene is not workin?

Seeing errors in console log

Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint '<URL>'. This request has been blocked; the content must be served over HTTPS.

babylon.js:16 Mixed Content: The page at 'https://www.babylonjs-playground.com/#4CYQ9X#20' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://3d.edenczyk.pl/objects/Oriin2.glb'. This request has been blocked; the content must be served over HTTPS.

Also, links like http://3d.edenczyk.pl/objects/Oriin2.glb are leading to a 404 page.

1 Like