Jump to content

*.babylon to HTML


Recommended Posts

my script

<!doctype html>
    <script type='text/javascript' src='http://www.babylonjs.com/oimo.js'></script>
    <script type='text/javascript' src='http://www.babylonjs.com/cannon.js'></script>
    <script type='text/javascript' src='http://www.babylonjs.com/babylon.js'></script>
    <style type='text/css'>
        html, body, div, canvas {
            width: 100%;
            height: 100%;
            padding: 0;
            margin: 0;
            overflow: hidden;

    <canvas id='canvas'></canvas>
    <script type='text/javascript'>
        var canvas = document.getElementById('canvas');
        var engine = new BABYLON.Engine(canvas, true);
        BABYLON.SceneLoader.Load('', 'BabylonTest1.babylon', engine, function (newScene) {

            engine.runRenderLoop(function() {

            window.addEventListener('resize', function () {

When i press "Export&Run" button on 3dMax Exporter - All work? launching in Localhost and automaticly adding spec. random code in string:
                                                    <BABYLON.SceneLoader.Load('', 'BabylonTest1.babylon?once=1180175707', engine, function (newScene)>
I don't understand... Babylon is not free???

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.

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.


  • Recently Browsing   0 members

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