Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


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