PDA

View Full Version : Extra floor - texture mapping



09-02-2002, 03:31 AM
hi,

If I have a floor constructed by bunch of textures I see places where these textures are connected (I can recognize elements of the floor - textures). How to make the floor as a whole floor, not a bunch of textures which anyone can be recognized by my eye?
How to make a floor smoother?

MickeyMouse
09-02-2002, 04:46 AM
you need a kind of texture whose left side fits with it's right side and top fits with bottom...

09-02-2002, 07:18 AM
I know this, but I load textures from wolfenstein!!! These are really good! (walls and floors)

I am asking are there any function wchich fix a little this problem

09-02-2002, 01:52 PM
Use the following texture parameters:
::glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP);
::glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP);

This _should_ hide the joins on your polygons.

09-03-2002, 02:07 AM
Thanks I'll try it soon