1. Open Paint 3D
  2. Click 3D Library
  3. Search for the model you want
  4. Select the model to add it to the canvas
  5. Menu -> Save As -> 3D Model
  6. BOOM you have a free GLB 3D model to use in your game!

Add it to BabylonJS

  1. Copy GLB model file to the assets file in your project
  2. Import the model into the scene:
  SceneLoader.ImportMesh("", "/assets/", "grapes.babylon", scene, function (
    grapes
  ) {
    // Set the target of the camera to the first imported mesh
    camera.target = grapes[0];
  });
Enter fullscreen mode Exit fullscreen mode

Happy game building!