It appears that I've left out a texture clamping mode. I have the two below, but I've left out simply CLAMP.

    case CLAMP_TO_EDGE:
        if (U < 0) U = 0;
        if (U > Umask) U = Umask;
        break;
    case CLAMP_TO_BORDER:
        if (U < 0 || U > Umask) return border_color;
        break;


I honestly can't be sure if I've gotten either of those right either. It's not entirely clear what the spec (p. 169) means when it refers to a "border pixel". I had assumed that to refer to a separate order color constant, but now, I'm not so sure. What do coordinates mean when they are outside of the range of the texture?


Anyone mind helping me to interpret this?
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to