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 (
    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!

Top comments (2)

Collapse
 
f3lix profile image
Felix

Cool information, thanks! I can also share a cool site 3dbaza.com/Skyscraper with 3D models for every taste with excellent quality, for a low cost. I often take everything there for my projects and I can safely recommend it. You can see for yourself from my recent purchases and searches that everything is top notch. Worth your attention.

Collapse
 
victorquanlam profile image
Victor Quan Lam

Awesome!!