Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


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