RE: LANG: repeating textures

Steve Ghee ([email protected])
Thu, 7 Dec 1995 12:57:21 -0000


Adrian writes:
the spec saith:
CUBE
[....]
Textures are applied individually to each face of the cube; the entire =
texture goes on each face. ....

My esading:
it seems to me that this says "the entire texture" esserring
to the 0, to 1 coordinates of the texture.

thus scaling it would cause wallpapering (repeating).

No. The texture coordinates are assigned to polygons etc. within the =
display list. Scaling the polygon does *not* scale the texture =
coordinates, so a cube mapped 0..1 and then scaled will still be mapped =
0..1. The Texture2Transform node deals with repeats etc., as this is =
the Node which defines the texture coordinates associated with the =
polygons.

I guess this means that the texture is not applied
in different pieces to the faces of the cube, but repeated
on each face.

yes

what do the CLAMP and REPEAT values of the
wrapS and wrapT fields mean?

REPEAT means repeat (i.e. multiple copies of the same image) !
CLAMP means place the texture once, but repeat the last row of pixels =
across the rest of the surface if the texture appears more than once

Check out the InventorMentor, pages 160-161 and 157 for details on =
texture mapping


  • Next message: Steve Ghee: "RE: LANG: repeating textures"
  • Previous message: K MacArthur: "Lights on...Lights off..."