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. For a full documentation about Panda3D's configuration system, click here to view the original documentation file. To know about accessing config variables from within your code, please see Accessing Config Vars in a Program. To get a more complete list of variables, see the list of all config variables.
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
window-title | Window title | Panda | Specifies the title 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 | openal_audio 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>> |