confauto.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. ###########################################################
  2. ### ###
  3. ### Panda3D Configuration File - Auto-Generated Portion ###
  4. ### ###
  5. ### Editing this file is not recommended. Most of these ###
  6. ### directives can be overriden in Config.prc ###
  7. ### ###
  8. ###########################################################
  9. # Define the display types that have been compiled in. Panda will
  10. # pick one of these by going through the list in this order until one
  11. # is found that works, unless the user specifically requests a
  12. # particular display type with the load-display directive.
  13. aux-display pandagl
  14. aux-display pandadx9
  15. aux-display pandadx8
  16. aux-display pandadx7
  17. # The egg loader is handy to have available by default. This allows
  18. # clients to load egg files. (The bam loader is built-in so bam files
  19. # are always loadable).
  20. # By qualifying with the extension "egg", we indicate the egg loader
  21. # should be made available only if you explicitly name a file with an
  22. # .egg extension.
  23. load-file-type egg pandaegg
  24. # The following lines define some handy object types to use within the
  25. # egg syntax. This remaps <ObjectType> { name } into whatever egg
  26. # syntax is given by egg-object-type-name, which makes a handy
  27. # abbreviation for modeling packages (like Maya) to insert
  28. # sophisticated egg syntax into the generated egg file, using a single
  29. # object type string.
  30. egg-object-type-portal <Scalar> portal { 1 }
  31. egg-object-type-polylight <Scalar> polylight { 1 }
  32. egg-object-type-seq24 <Switch> { 1 } <Scalar> fps { 24 }
  33. egg-object-type-seq12 <Switch> { 1 } <Scalar> fps { 12 }
  34. egg-object-type-indexed <Scalar> indexed { 1 }
  35. # These are just shortcuts to define the Model and DCS flags, which
  36. # indicate nodes that should not be flattened out of the hierarchy
  37. # during the conversion process. DCS goes one step further and
  38. # indicates that the node's transform is important and should be
  39. # preserved (DCS stands for Dynamic Coordinate System).
  40. egg-object-type-model <Model> { 1 }
  41. egg-object-type-dcs <DCS> { 1 }
  42. # The following define various kinds of collision geometry. These
  43. # mark the geometry at this level and below as invisible collision
  44. # polygons, which can be used by Panda's collision system to detect
  45. # collisions more optimally than regular visible polygons.
  46. egg-object-type-barrier <Collide> { Polyset descend }
  47. egg-object-type-sphere <Collide> { Sphere descend }
  48. egg-object-type-invsphere <Collide> { InvSphere descend }
  49. egg-object-type-tube <Collide> { Tube descend }
  50. # As above, but these are flagged to be "intangible", so that they
  51. # will trigger an event but not stop an object from passing through.
  52. egg-object-type-trigger <Collide> { Polyset descend intangible }
  53. egg-object-type-trigger-sphere <Collide> { Sphere descend intangible }
  54. # "bubble" puts an invisible bubble around an object, but does not
  55. # otherwise remove the geometry.
  56. egg-object-type-bubble <Collide> { Sphere keep descend }
  57. # "ghost" turns off the normal collide bit that is set on visible
  58. # geometry by default, so that if you are using visible geometry for
  59. # collisions, this particular geometry will not be part of those
  60. # collisions--it is ghostlike.
  61. egg-object-type-ghost <Scalar> collide-mask { 0 }
  62. # This module allows direct loading of formats like .flt, .mb, or .dxf
  63. load-file-type p3ptloader
  64. # Define a new egg object type. See the comments in _panda.prc about this.
  65. egg-object-type-direct-widget <Scalar> collide-mask { 0x80000000 } <Collide> { Polyset descend }
  66. # Define a new cull bin that will render on top of everything else.
  67. cull-bin gui-popup 60 unsorted
  68. # The following two lines are a fix for flaky hardware clocks.
  69. lock-to-one-cpu #t
  70. paranoid-clock 1
  71. # This default only comes into play if you try to load a model
  72. # and don't specify an extension.
  73. default-model-extension .egg