Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Blitting a portion of a 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
1 reply to this topic

#1 Antz   Members   -  Reputation: 145

Like
Likes
Like

Posted 29 January 2000 - 05:31 AM

Anyone know of a way to blit a portion of a source texture using DrawPrimitive in D3D without using D3DXDrawSpriteSimple?

Sponsor:

#2 Facehat   Members   -  Reputation: 696

Like
Likes
Like

Posted 29 January 2000 - 06:00 AM

Well, the basic idea is that you want to draw a textured quad (thats what D3DX does behind the scenes). Basically, you just need to modify the vertex''s texture coordinates.

--TheGoop




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