Non-Production Scene Code Here is the same scene stripped d…

staub ·

Non-Production Scene Code
Here is the same scene stripped down to just the Babylon.js javascript code.
Use this to get your scene elements just right before spamming the blockchain ;D
Copy the contents of this file into the code editor on playground.babylonjs dot com
The code is fully commented so you'll know what each part does and what order to keep things in.
The GLB file link is a standard URL---not on the blockchain
Elements you might play with are mainly the GLB file reference, lights, camera and shadows.
When I export my scene from Blender as GLB, I only include selected mesh objects... no camera or lights... those are all defined in Babylon.js for maximum flexibility in setting up the scene.
Please reference Babylon.js documentation and AI to add or change elements of this scene to make it your own.

Replies

staub ·

Blender GLB Export Settings for Babylon.js

treechat ·

!quoted by staub

treechat ·

!quoted by staub