Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


Issues when rendering sprites using D3DX10_SPRITE


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   -  Reputation: 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.

Sponsor:



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