Re: wined3d - d3d9 regression testing 7_12_2005
Out of interest, does reversing this patch fix the wc3 fonts - If I recall correctly if was the glTranslate calls which originally made the wc3 fonts look correct, and I noticed in one of the patches Oliver changed them. He's probably right, but just in case its worth a test Try changing glTranslatef(0.9 / This->stateBlock->viewport.Width, -0.9 / This->stateBlock->viewport.Height, 0); to glTranslatef(1.0/This->stateBlock->viewport.Width, -1.0/This->stateBlock->viewport.Height, 0); in drawprim.c Jason
On 8/28/05, Ann & Jason Edmeades <us(a)edmeades.me.uk> wrote:
Out of interest, does reversing this patch fix the wc3 fonts - If I recall correctly if was the glTranslate calls which originally made the wc3 fonts look correct, and I noticed in one of the patches Oliver changed them. He's probably right, but just in case its worth a test
Try changing glTranslatef(0.9 / This->stateBlock->viewport.Width, -0.9 / This->stateBlock->viewport.Height, 0);
to
glTranslatef(1.0/This->stateBlock->viewport.Width, -1.0/This->stateBlock->viewport.Height, 0);
in drawprim.c
Jason
Well I tested Warcraft 3 before I got your reply and there is nothing wrong with the fonts currently, so the report may have been wrong. I did went ahead and tried Battlefield again with this change, but they are still blocks. Jesse
--- Jesse Allen <the3dfxdude(a)gmail.com> wrote:
On 8/28/05, Ann & Jason Edmeades <us(a)edmeades.me.uk> wrote:
Out of interest, does reversing this patch fix the wc3 fonts - If I recall correctly if was the glTranslate calls which originally made the wc3 fonts look correct, and I noticed in one of the patches Oliver changed them. He's probably right, but just in case its worth a test
Try changing glTranslatef(0.9 / This->stateBlock->viewport.Width, -0.9 / This->stateBlock->viewport.Height, 0);
to
glTranslatef(1.0/This->stateBlock->viewport.Width, -1.0/This->stateBlock->viewport.Height, 0);
in drawprim.c The change make more of the games I tested closer to perfect, it doesn't fix all the problems though. The problems it doesn't fix are probably render to texture related.
Jason
I did went ahead and tried Battlefield again with this change, but they are still blocks.
Can you send me a screen shot, there's a known 'blocks' problem with some textures and the glTranslatef is really easy to spot from a screen shot, it could be that your missing some fonts and that should look nothing like the other two.... Anyhow, a screen shot should help to clarify what's going on and the possible solution.
Jesse
___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
participants (3)
-
Ann & Jason Edmeades -
Jesse Allen -
Oliver Stieber