Skip to main content

History: -Billboard

Preview of version: 15

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | 0-9


Billboard - A flat square polygon (2 triangles) for high speed displaying of 2D textures. Mostly the face points to the camera. Often it's also called sprite, although this not right in historical context (see Wikipedia article and sprites on C64).

To make one, you first have to make a BillboardSet. Then, the billboards can be added to it on a given position. The BillboardSet is a {LEX()}MovableObject{LEX} and should therefore be added to a {LEX()}SceneNode{LEX}.

Billboards can be used e.g. to create a {LEX()}HUD{LEX} (heads up display) for characters.


Types of Billboard:

  • BBT_POINT:
    Standard point billboard (default), always faces the camera completely and is always upright

  • BBT_ORIENTED_COMMON:
    Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this to face the camera

  • BBT_ORIENTED_SELF:
    Billboards are oriented around their own direction vector (their own Y axis) and only rotate around this to face the camera

  • BBT_PERPENDICULAR_COMMON:
    Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor

  • BBT_PERPENDICULAR_SELF:
    Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor


Example


This image shows a billboard which is used as marker and rendered parallel to the terrain surface (instead of pointing to the camera).

On right side is an example usage (from the Ogre game APOX).

A billboard used for a green circle marker. The face doesn't point to the camera - the billboard is parallel to the terrain. It's not rendered on top (behind the helicopter model). For this the RenderQueue was modified and maybe some material settings were changed (Depth Check ON/OFF, Depth Write ON/OFF, etc.). The usage of billboards supports high performance. An alternative would be to use Projective Decals which renders an additional layer to a texture. (But this would be slower, when you need to update it's size/position for each frame.)



See Also
see_also.jpg


{WIKIPEDIA(page="Sprite (computer graphics)")/}

History

Information Version
Wed 17 of Jun, 2020 22:12 GMT-0000 sercero 19
Thu 31 of Mar, 2016 14:04 GMT-0000 hyyou 18
Thu 31 of Mar, 2016 14:02 GMT-0000 hyyou 17
Tue 09 of Aug, 2011 21:34 GMT-0000 IgnisInCaelum Grammar correction 16
Mon 14 of Mar, 2011 13:26 GMT-0000 Beauty added link to "ObjectTextDisplay" 15
Fri 24 of Sep, 2010 10:50 GMT-0000 Beauty added overview of billboard types + added sections 14
Fri 24 of Sep, 2010 10:29 GMT-0000 Beauty added link about C64 sprites + link for ((Projective Decals)) 13
Thu 23 of Sep, 2010 13:24 GMT-0000 Beauty added links + example picture + technique notes 12
Wed 25 of Aug, 2010 07:08 GMT-0000 sarcacid fixed first 'Example' link 11
Thu 22 of Jul, 2010 19:26 GMT-0000 spacegaier 10
Sat 05 of Jun, 2010 16:34 GMT-0000 jacmoe 9
Mon 17 of May, 2010 14:55 GMT-0000 jacmoe 8
Sun 16 of May, 2010 22:24 GMT-0000 jacmoe 7
Sun 16 of May, 2010 22:24 GMT-0000 jacmoe 6
Sun 16 of May, 2010 22:20 GMT-0000 jacmoe 5
Thu 07 of Jan, 2010 23:34 GMT-0000 jacmoe 4
Thu 07 of Jan, 2010 23:20 GMT-0000 jacmoe 3
Tue 29 of Dec, 2009 09:20 GMT-0000 jacmoe 2
Sun 14 of Jun, 2009 14:07 GMT-0000 Beauty added link 1