Panda3D Manual: Panda Changes
  <<prev top next>>  

Panda Version 1.0.903 (Not available to the public just yet)

Issues

  • By default, the new Panda is case sensitive. To disable, add the following line to your config.prc file:

    vfs-case-sensitive 0

Syntax Changes

  • NodePath.setLight now only takes a NodePath containing a light.
  • You can now wrap a light in a NodePath without it crashing (no more upcasting)
  • Traverser.addCollider now only takes NodePaths
  • Panda Objects have been changed from python classes to python types. As a result, you cannot store variables on them.

    #This will crash
    a=NodePath("a")
    a.myVariable=5

  • You cannot import Panda objects from pandac

    #wrong
    from pandac.Geom import *
    #right
    from pandac.PandaModules import *

New Features

  • AVI movie textures are now supported through loader.loadTexture
  • Shaders now function differently. see Cg shader manual page for details
  • There is new functionality on NodePaths for storing python objects.

    a=NodePath("a")
    a.setPythonTag("myOBject",myPythonObject)
    a.getPythonTag("myObject").doSomething()

  • Geometric data manipulation is now done using GeomVertexReader, GeomVertexWriter, and GeomVertexRewriter
  <<prev top next>>