O'Reilly logo

Panda3D 1.6 Game Engine by Dave Mathews

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating flipbook animations with egg-texture-cards

Egg-texture-cards is a command-line utility provided with Panda3D. It takes an image and creates a single rectangular polygon with the image set as its texture. The output is an egg file that contains the polygon and the texture information for it. We can also supply multiple images to egg-texture-cards and it will create a polygon for each of them, all in one egg.

The options for egg-texture-cards are accessed by using flags. Each flag is a combination of a hyphen and a letter, or set of letters, and should be followed by the setting for that option. Here are a few examples:

  • -o— specifies an output filename.
  • -fps— tells egg-texture-cards the frame rate for the animation.

An example usage of egg-texture-cards ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required