Jump to content
  • Advertisement
Sign in to follow this  
Jiia

Square textures won't work

This topic is 5126 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!