DEV Community


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

cassieview profile image Cassie Updated on ・1 min read

  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];

Happy game building!


Editor guide