[Plib-devel] texture repeating
Brought to you by:
sjbaker
From: Curtis L. O. <cu...@me...> - 2000-08-24 18:25:46
|
Steve, In ssg is there a way to control whether a texture is set to "repeat" or not? As I start working on runways I'm starting to notice some artifacts. I want to slap a texture down on top of a specific area and have the texture cover it completely ... texture coordinates of lower corner are (0,0), upper corner are (1,1), etc. Now, what I'm finding is that if I have a texture that is all black along one edge and all white along the other edge, I get some bleed across to the opposite edge ... i.e. some of that white on one edge scrolls around and shows up on the opposite edge and visa versa for the black ... this makes it really ugly to piece together adjacent textures because you always can see the joint because of this bleed across. I'm assuming this is because the ssg textures are by default set to repeat, right? Do you have any strategies you can share for avoiding this problem? Thanks, Curt. -- Curtis Olson Human Factors Research Lab Flight Gear Project Twin Cities cu...@hf... cu...@fl... Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org |