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

Applying textures to models

Textures play a very important role in the visual appearance of any game. They are the images that are wrapped around the models to add color and detail to the polygons that form the model. To use textures properly, a model has to be given texture coordinates that tell Panda3D how to apply the texture to the model. It is possible to automatically generate these coordinates, but this is rarely done in practice. The best way to create these coordinates is in a modeling package, such as Blender. For our game, the models we use will already have the texture coordinates created.

We have two options for applying textures to our model. The first method we've already used, and that is to have the texture applied in the modeling ...

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