O'Reilly logo

3D Graphics with XNA Game Studio 4.0 by Sean James

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

Non-rotating billboards

Another way to use billboards is to simply place them in 3D space and leave them as is. This is useful to approximate various shapes without having them rotate all the time—a bush or shrub, for example. This is more practical for up-close drawing because they still look as complex as a model, but don't require a model to be drawn containing hundreds of vertices:

Non-rotating billboards

In this style of billboarding, we build a "cross" out of two rectangles that will simulate a 3D object:

Non-rotating billboards

The class that handles this is very similar to the BillboardSystem ...

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