Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Texture


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
3 replies to this topic

#1 CluberX   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 November 2001 - 08:22 AM

Can I use texture that aren''t 64x64,128x128,256,256??? And if I can how?? I would be very thankful if anyone will help me. CluberX

Sponsor:

#2 Major   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 November 2001 - 08:38 AM

I''m not sure but I thnik that you are not forced to use square textures but their height and width have to be a 2^X number.

#3 Load Runner   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 November 2001 - 08:45 AM

Try using Mipmaped textures

#4 RandomTask   Members   -  Reputation: 122

Like
Likes
Like

Posted 28 November 2001 - 11:03 AM

If you want an oddly shaped texture all you have to do is make sure that your texture fits inside one of the larger textures. Then what you do is when you apply the texture to the polygon bind it from the corner of the texture and only apply the portion of the texture that you need to the polygon.

I believe that the reason for the size requirement is because of byte boundaries with hardware. Hardware and software can be optimized greatly by statically defining texture sizes. Obviously the performance increase is substantial due to its usage.

The space on the texture that you aren''t using doesn''t have to be empty memory either. You can put other stuff in there, other textures that is. You just have to bind the right part of the texture to the target polygon. Of course you''ll have to include data with the texture that outlines where a certain texture begins on the texture pictures.

RandomTask




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