Upgrade to Pro — share decks privately, control downloads, hide ads and more …

料理の注文メニューの3D化への挑戦

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

 料理の注文メニューの3D化への挑戦

Babylon.jsゆるほめLT会

料理の注文メニューの3D化への挑戦

Avatar for Hideyuki Nagata

Hideyuki Nagata

July 08, 2022
Tweet

More Decks by Hideyuki Nagata

Other Decks in Programming

Transcript

  1. 解説-1 • BABYLON.SceneLoader.ImportMesh("", "scenes/Dude/", "Dude.bab ylon", scene, function (meshes) {

    • scene.createDefaultCameraOrLight(true, true, true); • scene.createDefaultEnvironment(); • • });
  2. 解説-3 • 環境構築しなくても試せるので、Playground、ありがたいですね。 • // 調理台と思ってください。 • const box =

    BABYLON.MeshBuilder.CreateBox("box", {height: 35, wi dth: 100, depth: 50}); • box.position.x = 10; • box.position.y = 20; • box.position.z = 35;