ReleaseNotes 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. ------------------------ RELEASE 2004-07-27 ------------------------
  2. Configuration, installation, and execution environments:
  3. * We have moved to a new, more explicit naming convention for our
  4. import statements. Rather than installing all Python files into
  5. one big flat namespace, we now import them from their appropriate
  6. directories, e.g. "from direct.actor import Actor".
  7. * "from ShowBaseGlobal import *" is replaced with "import
  8. direct.directbase.DirectStart" and/or "from pandac.PandaModules
  9. import *".
  10. * The old "generatePythonCode" script has been replaced with a new
  11. "genPyCode" script that automates the Python wrapper generation
  12. process without requiring any special parameters.
  13. * The old dependencies on environment variables have been removed.
  14. There are no longer requirements for any environment variables to
  15. be set in either the build process or the runtime environment
  16. (although a few optional environment variables remain to allow
  17. custom configuration).
  18. * INSTALL document greatly enhanced for clarity.
  19. * An automatic build script is now provided to further simplify
  20. building Panda3D for Unix and Cygwin users.
  21. * The old "Configrc" filename to identify runtime configuration
  22. files is deprecated; configuration files should now be named
  23. Config.prc, or in general, *.prc. The system-default
  24. configuration files are auto-generated as 20_panda.prc,
  25. 30_pandatool.prc, and 40_direct.prc (the numeric prefixes control
  26. the order in which these are loaded at runtime).
  27. Rendering system:
  28. * Some deprecated methods of CollisionEntry have been flagged to
  29. raise an exception now; these are replaced with the newer
  30. interfaces that can return a collision point in an arbitrary
  31. coordinate system.
  32. * Camera::set_cull_center() can be used for debugging culling by
  33. setting the effective point of visibility culling different from
  34. the actual point. From Python, use base.oobeCull() to examine
  35. this effect.
  36. * Alt-Enter in pview toggles between fullscreen and windowed modes.
  37. * Added experimental support for GL display lists.
  38. Scene graph:
  39. * Exposed methods to directly retrieve and set the individual
  40. vertices of a GeomNode from Python code.
  41. * The new PortalNode defines the interface for Panda's new
  42. cell-portal visibility system; each PortalNode is a window into
  43. another zone, or a separate subgraph; the PortalNode can hide or
  44. show the subset of its zone's geometry visible through its
  45. "portal".
  46. * The new PolylightNode applies a simple lighting-like effect
  47. without actually using lighting; objects will brighten or darken
  48. as a whole according to their proximity to the light. Use
  49. PolylightEffect to enable this effect.
  50. * The new FadeLODNode works like ordinary LODNode, but the switches
  51. are alpha-blended in over a short period of time rather than
  52. popping immediately.
  53. Text display:
  54. * Text now supports embedded mode changes--special characters to
  55. switch fonts, colors, scale, etc. within a line or within a
  56. paragraph.
  57. * Windows IME is better supported by Panda/Direct widgets
  58. (e.g. PGEntry and/or DirectEntry) in fullscreen mode as well as in
  59. windowed mode.
  60. Model converters:
  61. * dxf2egg and egg2dxf added to converters, as well as to inline
  62. conversion supported via ptloadeder.
  63. ------------------------ RELEASE 2004-03-29 ------------------------
  64. Miscellaneous:
  65. * We once again support the Microsoft VC6 compiler.
  66. * The "pstats" program is now provided in the Windows environment as
  67. part of pandatool. It is similar to "gtk-stats" on a Unix
  68. environment, and can be used to view a real-time graph of
  69. performance timing in a running Panda process. See
  70. panda/src/doc/howto.use_pstats.
  71. * New session recording and playback support allows capturing user
  72. and network input to a disk file, for replaying later, offline.
  73. Use "record-session filename.boo" and "playback-session
  74. filename.boo" in your Configrc file.
  75. * The genPyCode script now uses PythonWare's SqueezeTool to
  76. "squeeze" the large number of generated .py files into a single
  77. shared library, for substantially improved startup times on
  78. Windows.
  79. * The Task system now has substantially reduced overhead when many
  80. doLater's are waiting in the system.
  81. * The png image file type is now supported.
  82. Rendering system:
  83. * Introducing native DirectX9 graphics support, although we do not
  84. yet support any features specific to DirectX9, such as
  85. programmable shaders.
  86. * DirectX7 and DirectX8 modules are now somewhat more robust.
  87. * New support for offscreen rendering and render-to-a-texture, which
  88. will become part of a general multipass-rendering interface.
  89. Presently supported in OpenGL, with limited DirectX support. Use
  90. GraphicsWindow::make_texture_buffer() to make a buffer you can
  91. render into and apply the result as a texture map to objects in
  92. your scene. The NonlinearImager in the distort directory is a
  93. complex example of using this interface.
  94. * Explicit support for the Mesa 3D library's software-based
  95. offscreen rendering, allowing a Panda program to generate
  96. offscreen images as a background process, independently of any
  97. graphics card or desktop environment.
  98. * GraphicsLayer and GraphicsWindow render order can now be easily
  99. adjusted dynamically with set_sort() methods.
  100. * Built-in frame rate meter can be activated by setting
  101. "show-frame-rate-meter 1" in your Configrc file.
  102. Scene graph:
  103. * New tag system on PandaNodes allows storing of arbitrary string
  104. data on nodes, keyed by a string dictionary. The
  105. NodePath::get_net_tag() interface retrieves the data value for a
  106. particular tag on a node or the nearest ancestor of the node.
  107. NodePath::find() can search for a node in the scene graph with a
  108. given tag or tag/value pair.
  109. * Explicit shear transforms are now supported on nodes, as well as
  110. in character animation tables.
  111. * Characters now have an interface to control joint and slider
  112. values dynamically, instead of strictly from an animation file.
  113. Use Actor.exposeJoint() and/or Actor.controlJoint().
  114. * Nurbs surfaces and curves can now be rendered directly by Panda,
  115. which will tesselate them on the fly at some CPU cost. This is a
  116. modeling convenience only; it is not intended to be used for
  117. production code. Triangle strips are still the fastest way to
  118. render complex surfaces.
  119. * However, Rope.py is now provided as a high-level wrapper around
  120. Panda's runtime NURBS curve evaluator; it can render dynamic
  121. curves in a variety of ways.
  122. * The egg library is now published to Python, allowing construction
  123. of geometry on-the-fly by show code for convenience. This is also
  124. intended as a developer's convenience more than a production
  125. feature.
  126. Text display:
  127. * The special character \3 (ASCII 0x03) embedded in a text string
  128. indicates the position of a soft hyphen when wordwrap mode is in
  129. effect. The character \4 (ASCII 0x04) serves as a hyphenless
  130. invisible break point.
  131. * A default font is compiled in even if the FreeType library is not
  132. available.
  133. * pnmtext library added for rendering text directly into an image.
  134. * New egg-mkfont utility uses FreeType to generate static font
  135. models that Panda clients without FreeType can use to render text.
  136. Collision and physics system:
  137. * More robust collision interface, supporting NodePaths properly so
  138. that collisions detected into (and from) particular instances of
  139. nodes can be differentiated. CollisionEntry has a much simpler
  140. mechanism for getting the intersection point and normal in an
  141. arbitrary coordinate space defined by a NodePath, instead of the
  142. user having to convert the coordinate space by hand.
  143. * New CollisionVisualizer object to visually show collisions as they
  144. are tested and detected, useful for optimizing collision
  145. performance. Activate this with
  146. base.cTrav.showCollisions(render).
  147. * Implicit velocity system is now integrated with scene graph; the
  148. relative velocity of moving nodes is automatically considered when
  149. testing for most kinds of collisions. Use
  150. NodePath::set_fluid_pos() to indicate that a node is moving
  151. fluidly to its new position and should test for collisions along
  152. the way (as opposed to the more traditional NodePath::set_pos(),
  153. which unconditionally sets the node to its new position).
  154. * Introduction of "tube" collision shapes, sometimes called
  155. "capsules" in other libraries. It is a cylinder capped with
  156. hemispheres.
  157. * CollisionSolid::set_effective_normal() provides a way to define a
  158. sloping surface with an apparently vertical normal, to prevent
  159. characters standing on the surface from sliding down.
  160. * Collision polygons now respect clipping planes.
  161. * Many changes to physics system.
  162. HTTPClient and net systems:
  163. * More verbose error reporting.
  164. * Better support for proxy servers, including SOCKS5 proxies.
  165. Model converters:
  166. * maya2egg converter now supports skeleton/morph animation files
  167. fully, including soft-skinning, hard-skinning, and morphs (blend
  168. shapes). NURBS and polygon meshes are both supported.
  169. * A new Maya plugin called libmayapview allows opening a Panda
  170. window from within Maya to view how the scene will look once it
  171. has been converted to Panda.
  172. * New soft2egg converter supports models and animation stored in
  173. SoftImage 4.3 files. (Newer versions of SoftImage are not
  174. supported.)
  175. * New egg2flt program more or less reverses flt2egg.
  176. * The ptloader Panda loader allows direct loading into Panda of most
  177. model file types defined within pandatool: Maya, flt, and lwo.
  178. Specify load-file-type ptloader in your Configrc file.
  179. * New egg-optchar preprocessor improves character animation runtime
  180. performance by eliminating unneeded joints. It can also
  181. reorganize a skeleton and/or expose joints for the show code's
  182. convenience.
  183. * New egg-qtess utility converts NURBS egg files to polygon egg
  184. files with either a trivial interface for quick conversions or a
  185. sophisticated parameter file for more precise control. It
  186. preserves soft-skinning and animation information.
  187. * New visibility flag in egg format allows model files to define
  188. invisible subtrees which will be initially stashed when loaded.
  189. * The egg library now allows implicit forward references to vertex
  190. pools, making it much easier to generate a valid egg file from a
  191. third-party model format.