HELP! * GREY=local LOCAL HTML version of Foils prepared 7 April 1997
Foil 74 Use of TextureCoordinate2 in Pyramid Coloring - II
From Overview of VRML 1.0 Language with Examples CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96 and 97. byGeoffrey C. Fox, Alvin Leung, Meryem Ispirli * See also color IMAGE
Then the browser is told in MaterialBinding to expect a index value for each vertex.
MaterialBinding { # Note Indices are "different"
value PER_VERTEX_INDEXED # From Previous example
} # Using PER_VERTEX_INDEXED
IndexedFaceSet { # Add to usual coordIndex
textureCoordIndex [
4, 2, 3, -1,
4, 3, 0, -1,
4, 0, 1, -1,
4, 1, 2, -1,
0, 2, 3, -1,
0, 1, 2, -1
]
}
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.