DEV Community

Cassie Breviu
Cassie Breviu

Posted on • Edited 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 (8)

Collapse
 
brian_martin_228ac58181ac profile image
Brian Martin

Getting free 3D models into your workflow and using them in a BabylonJS project is actually simpler than it looks once you try it end to end. One thing that really helps is experimenting with different tools to preview and adjust models before exporting, especially if you’re aiming for better performance on the web. I found this guide useful when exploring beginner-friendly options: thepaint3ds, it gives a few practical tools you can test before bringing assets into your scene.

Collapse
 
skylar_grace_ba30fd671578 profile image
Skylar Grace

can you please share the link ?

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

Some comments may only be visible to logged-in visitors. Sign in to view all comments.