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!


This must be a bug, on the textures(maybe)


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

#1 lomateron   Members   -  Reputation: 363

Like
0Likes
Like

Posted 07 March 2012 - 05:16 AM

when drawing 2d textures,have you never notice, all the pixels that are at the right, i mean the last column of pixels from left to right of the texture, and the first row of pixels from up to down.With those pixels, if you draw the texture into a 2d square, the column of pixels will appear at the left side of the square, and the row of pixels will appear at the bottom part of the square, looks more like if the texture was moved and the pixels that were offset were moved to the other side. Why is this?

Sponsor:

#2 kauna   Crossbones+   -  Reputation: 2861

Like
0Likes
Like

Posted 07 March 2012 - 06:25 AM

Sounds like texture wrapping issue? Set texture address mode to clamp perhaps?

Cheers!

#3 kubera   Members   -  Reputation: 972

Like
0Likes
Like

Posted 07 March 2012 - 07:59 AM

Hi!

Are you sure?
Bugs we could submit here:
http://forums.create.msdn.com/
(for DirectX issues)

#4 Tispe   Members   -  Reputation: 1047

Like
0Likes
Like

Posted 07 March 2012 - 09:17 AM


d3d->SetSamplerState(0, D3DSAMP_ADDRESSU, D3DTADDRESS_MIRROR);

d3d->SetSamplerState(0, D3DSAMP_ADDRESSV, D3DTADDRESS_MIRROR);






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