Panda3D Manual: Configuring Panda
  <<prev top next>>     

In the etc subdirectory, you will find a configuration file Config.prc. This controls several of Panda's configuration options - does it use OpenGL or DirectX, how much debugging output does it print, and so forth. The following table lists several of the most commonly-used variables.

To get a more complete list of variables, see the next page of the manual.

Variable Values Default Details
load-display pandagl
pandadx8
pandagl Specifies which graphics GSG to use for rendering (OpenGL or DirectX 8)
win-size Number of pixels 640 480 Specifies the size of the Panda3D window
win-origin Pixel offsets 50 50 Specifies the offset of the Panda3D window
fullscreen #t
#f
#f Enables full-screen mode (true or false)
undecorated #t
#f
#f Removes border from window (true or false)
cursor-hidden #t
#f
#f Hides mouse cursor (true or false)
show-frame-rate-meter #t
#f
#f Shows the fps in the upper right corner of the screen (true or false)
notify-level-[package] fatal
error
warning
info
debug
spam
info Sets notification levels for various Panda3D packages to control the amount of information printed during execution (fatal being least, spam being most)
model-path Path string see config file Adds specified path to the list of paths searched when loading a model
audio-library-name fmod_audio
miles_audio
null
fmod_audio Loads the appropriate audio drivers. Miles is a propriertary audio, so only select that option if you currently have it.
want-directtools #t
#f
#t
line commented out
Enables directtools, a suite of interactive object/camera manipulation tools
want-tk #t
#f
#t
line commented out
Enables support for using Tkinter/PMW (Python’s wrappers around Tk)
  <<prev top next>>