RE: LANG: repeating textures

Jan Hardenbergh (jch@nell.oki.com)
Fri, 08 Dec 95 09:41:00 E


>> > 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
>>
>> i still don't understand the difference between CLAMP and REPEAT that
well.
>>
>> does this mean that if we scale the texture coords such that the
>> texture would normally "wallpaper" (repeat), but had "CLAMP" set,
>> only that last row of pixels would be used...?

Yes, exactly. Sometimes, geek speak is easier: WRAP, the texture
lookup coordinate is the fractional part of S or T. From CLAMP it gets
clipped to 0 or 1 if it is outside the unit box.

>> it sounds like i'd have to have a special Texture2Transform for
>> each object/node in the current setup?

Cindy alesady confirmed this is the way it is.

YON, jch@oki.com, Jan C. Hardenbergh, Oki Advanced Products 508-460-8655
www.oki.com/people/jch/ =|= 100 Nickerson Rd., Marlborough, MA 01752
Imagination is more important than knowledge - Albert Einstein (1879-1955)


  • Next message: Chris Marrin: "Re: ANNOUNCE: VRML 2.0 proposal from Microsoft graphics groups"
  • Previous message: Jan Hardenbergh: "RE: LANG: repeating textures"