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

Render attributes

Size, rotation, and scale aren't the only things we can do with NodePaths. Render attributes are also set on NodePaths. Controls that change how a model is handled by the renderer are called render attributes, and they can do a number of different things. They can change the color of a model, they can make it render as a wireframe instead of a solid, they can make it render as two-sided, and more. Let's take a look at the list of render attributes to get a feel for what they are:

  • AlphaTestAttrib: Hides part of the model, based on the texture's alpha channel.
  • AntialiasAttrib: Controls full-screen antialiasing and polygon-edge antialiasing.
  • AudioVolumeAttrib: Applies a scale to audio volume for positional sounds.
  • AuxBitplaneAttrib: ...

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