<<VRML 2.0 - An Introductory view by examples

BillBoard

[example]                                                   [run]


It is a special grouping node which directs its coordinate system in order to point at the viewer

{
eventIn MFNode addChildren #
eventIn MFNode removeChildren #
exposedField SFVec3f axisOfRotation 0 1 0 # axis to use to perform rotation at the viewer
exposedField MFnode children [ ] #
field SFVec3f bboxCenter 0 0 0 #
field SFVec3f bboxSize -1 -1 -1 #
}

Usage :


  Billboard {
  axisOfRotation 0 1 0
  children [

    .... nodes

            ]
             }