confauto.in 3.7 KB

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