API

The Meshes Library

Available Meshes for Importing into Playground

All the Playground examples are loaded using the default environment and default camera methods. The meshes are different sizes, and using the default methods places the camera at a distance where the whole image can be seen clearly. To find values for other cameras, you can use the Playground scene inspector.

Meshes with a large file size can take some time to load, so please be patient.

Some meshes appear in both file locations.

From the Playground Scenes Folder

These files are in the GitHub repo scenes folder for the Playground and are available for use.

When using a scene method to append or import scenes or meshes, the rootUrl parameter has the form scenes/ or scenes/folder/, and the filename parameter is as given below. The Playground will show the actual terms required.

FilenameSizeImagePlayground
Alien.gltf
15.1 MB
alien
Alien
BrainStem.gltf
3.19 MB
brainstem
Brainstem
BoomBox.glb
10.7 MB
boombox
Boombox
Buggy.gltf
1.09 MB
buggy
Buggy
Dude.babylon
3.46 MB
dude
Dude
babylonJS_logo_v3.babylon
7.51 KB
logo
Logo
candle.babylon
2.21 MB
candle
Candle
dummy2.babylon
16.1 MB
dummy2
Dummy2
dummy3.babylon
7.6 MB
dummy3
Dummy3
Rabbit.babylon
164 KB
rabbit
Rabbit
seagulf.glb
934 KB
seagull
Seagull
skull.babylon
3.94 MB
skull
Skull
SSAOcat.babylon
201 KB
cat
Cat
StanfordBunny.obj
4.69 MB
bunny
Bunny
ufo.glb
17 MB
ufo
UFO
Elf.gltf
401 KB
elf
Elf

From the Assets Library

This list of files is a small subset of the available models in the asset library from the GitHub repo. When using a scene method to append or import scenes or meshes, the rootUrl parameter uses the Asset Librarian like this: Assets.meshes.meshname.rooturl, and the filename parameter is similar: Assets.meshes.meshname.filename. See the Playgrounds below for examples.

FilenameSizeImagePlayground
aerobatic_plane.glb
4.4 MB
plane
Plane
alien.glb
15.1 MB
alien
Alien
BabylonJS-logo/v3/babylonJS_logo_solid_v3.babylon
BabylonJS-logo/v3/babylonJS_logo_v3.babylon
59 KB
8 KB
babylonJS_logo_v3
Babylon_log_v3
Chair/Chair.obj
1.09 MB
chair
Chair
Channel9/Channel9.stl
1.03 MB
channel9
Channel9
clothFolds.glb
2.21 MB
clothFolds
Cloth Folds
CornellBox/cornellBox.glb
162 kB
cornellBox-glb
cornellBox-glb
dragon.glb
20 MB
georgia tech dragon
Dragon
Dude/dude.babylon
3.46 MB
dude
Dude
emoji_heart.glb
1.08 MB
heart
Heart
ExplodingBarrel.glb
2.9 MB
ExplodingBarrel
ExplodingBarrel
flightHelmet.glb
50.4 MB
helmet
Helmet
fish.glb
45.4 MB
fish
Fish
haunted_house.glb
37.2 MB
haunted house
Haunted House
head.glb
25.9 MB
lee perry smith head
Head
marble.gltf
30 KB
marble
Marble
marbleTower.gltf
2.60 MB
MarbleTower
MarbleTower
seagulf.glb
934 KB
seagull
Seagull
shaderBall.glb
3.95 MB
shaderBall
Shader Ball
PBR_Spheres.glb
3.38 Mo
PBR_Spheres
PBR_Spheres
BabylonShaderBall_Simple.gltf
1.86 MB
BabylonShaderBall_Simple
Babylon Simple Shader Ball
shark.glb
14.7 MB
shark
Shark
Skull/skull.babylon
3.94 MB
skull
Skull
solar_system.glb
3.94 MB
solar system
Solar System
toast_acrobatics.glb
7.45 MB
toast acrobatics
Acrobatic Toast
TrailMeshSpell/spellDisk.glb
TrailMeshSpell/pinkEnergyBall.glb
TrailMeshSpell/greenEnergyBall.glb
TrailMeshSpell/yellowEnergyBall.glb
2.37 MB
2.41 MB
4.45 MB
2.22 MB
TrailMeshSpell
Trail Mesh Spell
vintageFan_animated.gltf
3.43 MB
vintageFan_animated
Vintage Fan
ufo.glb
17 MB
ufo
UFO

Finding Camera Values

To check the camera's distance from the displayed mesh, find the radius value by accessing the camera menu from the Playground scene inspector toolbar. Other useful values are angles, position, and the minZ and maxZ ranges.

values

Further reading

Loading Any File Type
Learn how to import any file type in Babylon.js.
Loading Any File Type
The Texture Library
Learn about the free available textures in the Babylon.js texture library.
The Texture Library
Using External Assets In the Playground
Learn how to use external assets in the playground in Babylon.js.
Using External Assets In the Playground