Re: remove the strips between the texture and the terrain

New Message Reply Date view Thread view Subject view Author view

Jan Barglowski (jan++at++archimedes.vislab.navy.mil)
Wed, 21 Jan 1998 14:27:30 -0800 (PST)


perfly++at++segolene.roazhon.inra.fr wrote:
> is there any solution to remove the strips between the border
> of the texture and the border of the terrain when the texture
> is smaller than the terrain ?

One way to fix this is to "cut" the faces that contain the texture
border just inside the good texture and parallel to the border, e.g.

        before
 ----------------------
|+++++++++++++=======|
|+++++++++++++=======|
|+++++++++++++=======|
|+++ good ++++=======|
|++ texture ++=======| (smears on right side)
|+++++++++++++=======|
|+++++++++++++=======|
|+++++++++++++=======|
 ----------------------

        after
 ----------------------
|++++++++++++|.......|
|++++++++++++|.......|
|++++++++++++|.......|
|+++ good +++|.......| (cut along texture border to form 2 faces)
|++ texture +|.......|
|++++++++++++|.......|
|++++++++++++|.......|
|++++++++++++|.......|
 ----------------------

Now get the right side (smeared) of the polygon and remove the texture, and
make its color close to the texture. You still have a border, but it won't
be the ugly smears.

I used MultiGen's slicing tool to do the cuts -- just line up the
tracking plane and leave it in the same place to slice for each LOD...

jan

-- 
Jan Anthony Barglowski	              jan++at++chinalake.navy.mil
Real-time Computer Graphics           http://www1.ridgecrest.ca.us/~jan
Naval Air Warfare Center, China Lake  (760) 927-1057
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:36 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.