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.


D3d IM texture swapping vs sorting... which is faster?


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
1 reply to this topic

#1 Mithrandir   Members   -  Reputation: 607

Like
Likes
Like

Posted 16 September 1999 - 01:08 PM

Okay, i've been told that there is a lot of overhead if d3d has to switch the texture for every polygon, so it would be better to pre-sort the poly's by texture.

unfortunately, this is not possible in my case, because the poly's that i draw are different each frame, so the only sorting i could do is per-frame sorting.

Im wondering if this would be better than texture switching?


Sponsor:

#2 Shinkage   Members   -  Reputation: 595

Like
Likes
Like

Posted 16 September 1999 - 01:08 PM

One thing to remember is that when you are using partially transparent surfaces you'll have to sort your drawing so that they are drawn last anyway. Otherwise whenever an alpha blended polygon is drawn before a polygon that is directly behind it, the occluded polygon will never be drawn even though it would normally be seen.




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