Path: chuka.playstation.co.uk!news From: "Nathan Miller" Newsgroups: scea.yaroze.programming.3d_graphics,scee.yaroze.programming.3d_graphics Subject: 3d tiling and ripping Date: Sun, 31 Jan 1999 01:40:38 +0200 Organization: PlayStation Net Yaroze (SCEE) Lines: 29 Message-ID: <7908of$6fv3@chuka.playstation.co.uk> NNTP-Posting-Host: 134.235.149.237 X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Xref: chuka.playstation.co.uk scea.yaroze.programming.3d_graphics:336 scee.yaroze.programming.3d_graphics:1170 Just had a question. I am representing my world with an array like world[20][20]. I have 3d models that represent a tile for the world, with floor included. The drawing function takes the array and a TILE_WIDTH and TILE_HEIGHT variable and draws the terrain (that is the simplified version). The only problem is, the floor tiles tear, causing black lines to appear between the tiles. The floor is flat right now. Here is a simplified version of the function. TILE_WIDTH = 200 TILE_HEIGHT = 200 for(i=0;i<20;i++) for(j=0;j<20;j++) tempx = i*TILE_WIDTH; tempz = i*TILE_HEIGHT; DrawTile(world[i][j], tempx, tempy); } That isn't exactly right, but you get the idea. It looks good, except for the edges of the tiles rip and cause random black lines all over the screen. Any help? Thanks, Nathan Miller