DEV Community

Cassie Breviu
Cassie Breviu

Posted on • Updated on

Get Free 3D Models in MS Paint 3D then Add it to BabylonJS Project

  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 (
  ) {
    // Set the target of the camera to the first imported mesh = grapes[0];
Enter fullscreen mode Exit fullscreen mode

Happy game building!

Discussion (1)

victorquanlam profile image
Victor Quan Lam