Re: [Plib-devel] texture repeating
Brought to you by:
sjbaker
From: Curtis L. O. <cu...@me...> - 2000-08-25 03:52:04
|
> "Curtis L. Olson" wrote: > > In ssg is there a way to control whether a texture is set to "repeat" > > or not? Steve Baker writes: > Sure - that's the second and third parameters of > ssgSimpleState::setTexture(). Ahah, your a genius! Whups, make that "you're". > A classic problem - which setting non-repeating clamps will cure > completely. Yes, setting the wrapu / wrapv to FALSE totally fixed this particular problem. But it didn't help with the mipmap bluring when viewing my runways from edge on ... or the problem where different sections of the runway with different textures can't always have the same ft/pixel ratio so the mipmapping choices don't always blend nicely from one section to the next. Runways are hard to get looking nice ... :-( FYI, here's what I've got so far (as viewed from a mipmap friendly vantage point) http://www.menet.umn.edu/~curt/fgfs/Gallery/Link/kmsp-runway.html > Joining two textures is a harder problem...for which I wrote a FAQ: > http://web2.airmail.net/sjbaker1/tiling_textures.html It's probably obvious to everyone (and now to myself as well) that you also need to have a consistant ft/pixel ratio along the edge you are matching... this could be something worth mentioning in the FAQ. > It's all rather disappointing for the purist though. This whole mipmapping scheme sucks for edge on runways which is the view you see them at 95% of the time ... generating "squat" textures (more resolution cross-wise than length-wise) helps a lot but still leaves a *lot* to be desired. :-( 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 |