Panda3D Manual: The Configuration File
<<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.
Variable | Values | Default | Details
--- | --- | --- | ---
load-display | pandagl pandadx8 | pandagl | Specifies which graphics GSG to use for rendering (OpenGL or DirectX 8)
win-size | Pixels x y | 800 600 | Specifies the size of the Panda3D window
win-origin | Pixels x y | 100 0 | Specifies the onscreen placement of the upper left corner of 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)
audio-cache-limit | number | 32 | limits the number of sounds you can load

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 | Directory name |  | Adds specified directory to the list of directories searched when loading a model or texture
sound-path | Directory name |  | Adds specified directory to the list of directories searched when loading a sound
load-file-type | ptloader |  | Allows the loading of file types for which converters have been written for in pandatool
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)
You can get a more complete list of available config variables at runtime (once you have imported DirectStart), with the Python command:
cvMgr.listVariables()
<<prev | top | next>> |