Sign in to follow this  
Jiia

Square textures won't work

Recommended Posts

Imagine if I had a surface, just a poly, which is 32x128 points in size. As in 32 points wide, by 128 points tall. Something like a wall section. How are these normally textured? What I wanted to do was to put 4 wall textures into each 256x256 bitmap, each wall texture section being 64x256, lined up in columns. But at the same time, I absolutely need to tile textures on long walls. For example, a single poly which is 256x128, but the 256 width part has the texture tiled every 32 points. As far as I know, there's no way to tile a texture unless the texture-coordinate spans the entire width of the bitmap. And there is no way I can imagine it doing that if the surface is unproportional, being longer than wide. Anyone have a clue what I'm talking about? Anyone have any ideas? I'm not against non-square textures, but my entire world mesh will be using them. I've also heard that some cards may put padding on the other non-square part of the texture. Is this true? If so, wouldn't this also screw up the tiling? Is it possible to tile a texture on a face even if the face doesn't use the full bitmap (0,0,1,1)? Or in other words, is it possible to tile a section of a bitmap on a face? Thanks for any help [smile]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this