This Optimizes Placement of Texture Map on Pyramid and initially uses Texture2 Node as in naive placement example |
TextureCoordinate2 {
|
} |
Some reference points: four corners and a middle point, are defined above on the texture map which is always viewed as a rectangle. |
By definition, the texture coordinate goes from 0.0 to 1.0 on the x axis and the y axis of the texture image. |
Becomes TextureCoordinate in VRML2 |