/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

What's the best way to move your heavy stuff? Using a power loader! #spacr #screenshotsaturday 💪🤖💪 https://t.co/sOjz2XNVeq
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Issues when rendering sprites using D3DX10_SPRITE

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

#1 JaMeZwHiTe   Members   

110
Like
0Likes
Like

Posted 27 May 2012 - 12:48 PM

Hi all,

I have implemented 2D sprites using the D3DX10_SPRITE and ID3DX10Sprite method. The image renders correctly positioned, scaled, etc. The issue I am having is that the physical image is incorrect, see screenshot below:

Posted Image

The image should be the letter 'G' with a transparent background. At this stage, I am pointing the finger at the Alpha blending description (see bottom of device creation code).

Here is my code (pastebin) for creating the device along with my blend states plus more: http://pastebin.com/TBYrjG3x

Can anyone help me with this? You will get a virtual cookie Posted Image

Many thanks,

- Jamie.




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.