Tunnel(fog) Tutorial
This tutorial will cover fog and how it can be used to make a finite length tunnel seem endless by hiding its endpoint in darkness. Fog in panda works be coloring objects based on their distance from the camera. Fog is not a 3D volume object like real world fog. With the right settings, Fog in panda can mimic the appearence of real world fog.
The way fog in Panda works is by coloring the models in the world. Fog cannot exist without any objects in the scene. The parts of the object which are furthest from the camera will get gradually colored by the color specified for the fog. If this color blends in with the background, it will appear as it the object is being occluded by a 'cloud' of fog.
For more information on fog, please consult the Panda3D online manual.
The image below shows the tutorial in action.