Jump to content

  • Log In with Google      Sign In   
  • Create Account


Help with Textures


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 HyprLogik   Members   -  Reputation: 122

Like
Likes
Like

Posted 13 July 2001 - 08:50 PM

Hi, I was wondering if instead of making the normal 256x256 texture (or some other square), if there is a way to use textures that are of irregular shape, such as 200x75 or such. In particular, I would like to simulate a billboard (like the ones on the side of the highway) by simply drawing a rectangular quad and texture mapping it with a rectangular texture (some picture or photo) that fits the billboard perfectly. How can I do something like this? Any help is appreciated; thank you.

Sponsor:

#2 MirekCz   Members   -  Reputation: 132

Like
Likes
Like

Posted 13 July 2001 - 09:24 PM

well if you have a 200x75 texture you can use a 256x256 texture and fit there 3 of your 200x75 textures (which will take then 200x225) and you can also try to fit some small textures into the space that''s left. That''s how it''s getting done.
hope it helps.

With best regards,
Mirek Czerwiñski
http://kris.top.pl/~kherin/

#3 smitty1276   Members   -  Reputation: 560

Like
Likes
Like

Posted 14 July 2001 - 10:31 PM

Your texture dimensions have to be powers of 2. If you want it to be otherwise, load the texture as a 256x256 (or whatever) and use the proper texture coordinates to actually use the part of the texture that you want.

#4 Obelix   Members   -  Reputation: 122

Like
Likes
Like

Posted 15 July 2001 - 01:39 AM

I got the impression that you think that textures has to be square, that is not a requriment.

#5 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 15 July 2001 - 10:57 AM

as others have said textures must be powers of 2 thus u need a 256x128 texture. some cards eg geforce can handle non power of 2 textures

http://members.xoom.com/myBollux




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS