HELP! * GREY=local LOCAL HTML version of Foils prepared 7 April 1997

Foil 73 Use of TextureCoordinate2 in Pyramid Coloring - I

From Overview of VRML 1.0 Language with Examples CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96 and 97. by Geoffrey C. Fox, Alvin Leung, Meryem Ispirli * See also color IMAGE
Addon
This Optimizes Placement of Texture Map on Pyramid and initially uses Texture2 Node as in naive placement example
TextureCoordinate2 {
  • point [
  • 0 0,
  • 1.0 0,
  • 1.0 1.0,
  • 0 1.0,
  • 0.5 0.5
  • ]
}
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



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun May 25 1997