Jump to content

Search the Community

Showing results for tags 'sceneloader.importmesh'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 2 results

  1. "BABYLON.SceneLoader.ImportMesh"This method in the tutorial that place
  2. Hello, i want to import a File with the BABYLON.SceneLoader.ImportMesh, but i don't have a URL, because the file comes form a Form. i have input form: <html> ... <input type="file" id="upload_file" name="upload" /> ... </html> and i try to import my Mesh (.babylon-File) out of the form, without uploading it. But i don't know how to import a file without a given URL. Please Help me :-) <script>... var inputElement = document.getElementById("upload_file"); inputElement.addEventListener("change", function handleFiles(event) { var fileList = this.files[0]; // The first parameter can be used to specify which mesh to import. Here we import all meshes BABYLON.SceneLoader.ImportMesh("", "", "data:" + fileList, scene, function (newMeshes) { // Set the target of the camera to the first imported mesh camera.target = newMeshes[0]; }); }, false); ... </scrip> Thanks!
×
×
  • Create New...