Re: Sprite.Draw draws differently on different computers
- From: "AlexGray" <grayaii@xxxxxxxxxxx>
- Date: 19 May 2005 18:07:33 -0700
I had the chance to play around this some more. I created a Slider in
my main app (not the zip file that i posted earlier), to toggle a float
value from 0 to 1 (in 0.5 increments) which will effect the draw
function. It seems 0.5 gives the best results, but not quite perfect
as the original bitmap. In my case it has to be exact, since my game
is a 2D Tile based game. If the tiles don't fit exactly right you'll
see the "grid" in the map, surrounding each tile. With 0.5 it's not
bad, but the grid shows up.
I read in another forum something similar happening to this, but with
no real resolution to the problem:
http://groups-beta.google.com/group/microsoft.public.win32.programmer.directx/browse_thread/thread/14b62fb0343b5ec6/eb2b1bcbcee421d3?q=detect+texel+pixel&rnum=2&hl=en#eb2b1bcbcee421d3
I also played around with changing the filtering effects (ie from
Filter.None to Filter.Point etc etc) with no positive results.
If i can figure out how to fix it in on the "broken" machines, then i
can query the device to see if it is a "bad" device and draw
accordingly... if a solution exists.
Darn, i wish you had a "bad" machine to see this problem. :)
.
- Follow-Ups:
- Re: Sprite.Draw draws differently on different computers
- From: Robert Dunlop [MS MVP]
- Re: Sprite.Draw draws differently on different computers
- References:
- Sprite.Draw draws differently on different computers
- From: AlexGray
- Re: Sprite.Draw draws differently on different computers
- From: Robert Dunlop [MS MVP]
- Re: Sprite.Draw draws differently on different computers
- From: Shane S. Anderson
- Re: Sprite.Draw draws differently on different computers
- From: AlexGray
- Re: Sprite.Draw draws differently on different computers
- From: Robert Dunlop [MS MVP]
- Re: Sprite.Draw draws differently on different computers
- From: AlexGray
- Re: Sprite.Draw draws differently on different computers
- From: Robert Dunlop [MS MVP]
- Re: Sprite.Draw draws differently on different computers
- From: AlexGray
- Re: Sprite.Draw draws differently on different computers
- From: Robert Dunlop [MS MVP]
- Sprite.Draw draws differently on different computers
- Prev by Date: Re: Sprite.Draw draws differently on different computers
- Next by Date: Can't select correct version of assemblys
- Previous by thread: Re: Sprite.Draw draws differently on different computers
- Next by thread: Re: Sprite.Draw draws differently on different computers
- Index(es):
Relevant Pages
|