Panda3D Manual: Sample Programs in the Distribution
  <<prev top next>>     

The Panda3D Distribution includes quite a few sample programs. The following is a list of what's included, and what features of panda each sample demonstrates.

To run a sample program, you need to install Panda3D. If you're a Windows user, you'll find the sample programs in your start menu. If you're a linux user, you'll find the sample programs in /usr/share/panda3d.

Sample Programs: Asteroids

  • Creating tasks (routines that get called every frame)
  • Using 2D graphics

Sample Programs: Ball in Maze

  • Using the collision detector
  • Reading the mouse

Sample Programs: Boxing Robots

  • Loading animated actors and playing animations

Sample Programs: Carousel

  • Relative positioning
  • Intervals (automatic movement)

Sample Programs: Cartoon Shader

  • Using shaders
  • Using offscreen rendering and image postprocessing

Sample Programs: Chessboard

  • Selecting an object with the mouse

Sample Programs: Disco Lights

  • Using vertex lighting

Sample Programs: Fireflies

  • Deferred shading - a complex shader-based algorithm

Sample Programs: Fractal Plants

  • Creates a 3D model without loading it from disk

Sample Programs: Glow Filter

  • Using shaders
  • Using offscreen rendering and image postprocessing

Sample Programs: Infinite Tunnel

  • Using fog to hide artifacts in the distance

Sample Programs: Looking and Gripping

  • Controlling a character's head procedurally
  • Causing a character to grip an object

Sample Programs: Media Player

  • Loading a texture from an AVI file
  • Loading a sound from an AVI file
  • Synchronizing audio and video

Sample Programs: Motion Trails

  • Captures contents of screen and reuses it later.

Sample Programs: Music Box

  • Playing sounds
  • GUI buttons and sliders

Sample Programs: Normal Mapping

  • Shaders
  • Use of tangent space

Sample Programs: Particles

  • Demonstrates the particle system

Sample Programs: Procedural Cube

  • Simple program that creates a 3D model without loading it

Sample Programs: Roaming Ralph

  • A character walks around a terrain
  • Uses collision system to detect height of terrain

Sample Programs: Shadows

  • Uses Shaders
  • Demonstrates use of shadow mapping

Sample Programs: Solar System

  • Shows how objects can move relative to other objects

Sample Programs: Teapot on TV

  • Uses render-to-texture
  • Places rendered texture on model in scene

Sample Programs: Texture Swapping

  • Swaps textures on models to create interesting effects
  <<prev top next>>