Panda3D Manual: Configuring Panda




This page is not in the table of contents. Please insert this page into the table of contents. If you cannot think of anyplace else to put it, insert it as an appendix.











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-width Number of pixels 640 Specifies the width of the Panda3D window
win-height Number of pixels 480 Specifies the height of the Panda3D window
win-origin-x Number of pixels 100 Specifies the x dimension of the upper left corner of Panda3d window
win-origin-y Number of pixels 100 Specifies the y dimension 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)</\ td>
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)</\ td>
audio-cache-limit number 32 limits the number of sounds you can load
notify-level-[package]fatal
error
warning
info
debug
spam
infoSets notification levels for various Panda3D packages to control the amount of information printed during execution (fatal being least, spam being most)
model-pathPath string480Adds specified path to the list of paths searched when loading a model
texture-pathPath string480Adds specified path to the list of paths searched when loading a texture
sound-pathPath string480Adds specified path to the list of paths searched when loading a sound
load-file-type ptloader EnabledAllows the loading of file types for which converters have been written for in pandatool
audio-library-namefmod_audio
miles_audio
null
fmod_audioLoads 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)
Back to the Manual