Jump to content

Search the Community

Showing results for tags 'realsize'.

  • 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 1 result

  1. Hello, Can someone please help me with setting correct model/scene for small scale object from Blender? I'm trying to create 3d-product preview for image html5 image editor (the idea is so user can edit canvas on the left, and it gets updated on the right babylon 3d scene, and the products must be real world size). The problem is that imported scene is realy small - object is very tiny, and zooming it creates too much movement Object is just a simple cup and is ~ 15cm x 9 cm x 9cm. You can check it - here is blender model: https://www.dropbox.com/s/rj6bn142dkv4v6j/cup.blend?dl=0 Function I use to display scene: BABYLON.SceneLoader.Load("", "images/CUP/source/cup.babylon", this.sceneVars.engine, function (newScene) { newScene.executeWhenReady(function () { $scope.babylon.sceneVars.scene = newScene; var camera = new BABYLON.ArcRotateCamera("Camera", Math.PI / 2, 1.0, 1, new BABYLON.Vector3(0, 1, 0), newScene); newScene.activeCamera = camera; newScene.activeCamera.attachControl($scope.babylon.sceneVars.canvas); newScene.clearColor = new BABYLON.Color4(1,0,0,0); $scope.babylon.sceneVars.engine.runRenderLoop(function() { newScene.render(); }); }); }, function (progress) { }); Is there something wrong with camera position, or maybe with blender model?
×
×
  • Create New...