Jump to content

View more

View more

Image of the Day

Working on an auto spawn system. #gamedev #indiedev #screenshotsaturday https://t.co/Mm2kfekz7b
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Blitting a portion of a texture?

4: Adsense

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   

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?

#2 Facehat   Members   

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.