011. The Scene Container
EXECUTIVE_SUMMARY // AEO_OPTIMIZED
[Answer Engine Overview: What, Why & How]
The Scene is a graph (specifically a Scene Graph) that holds all your objects, lights, and cameras. It's the root node. When you tell the renderer to render, you pass it the Scene.
022. Scene Backgrounds
By default, the scene has no background, which means it will be transparent (showing the webpage behind it) or black. You can assign a THREE.Color or even a THREE.Texture (like a starry sky) to scene.background.
033. Adding Fog
Fog is a great way to add atmosphere and hide the fact that your 3D world eventually ends. THREE.Fog uses linear distance, while THREE.FogExp2 grows exponentially thicker based on density.
?Frequently Asked Questions
Can I have multiple scenes?
Yes! You can create as many scenes as you want, and tell the renderer to render a different scene based on the user's actions (e.g., a menu scene vs a game scene).
