frozn2hu / glidehqplusglitch64

Automatically exported from code.google.com/p/glidehqplusglitch64
0 stars 0 forks source link

Games with ugly lines #280

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Several games have ugly lines e.g. Mace, MegaMan, Tetrisphere, NewTetris, 
Bomberman Hero, ArmyMen Air Combat

I made a change to static void rdp_texrect() and the lines are gone.
Bomberman Hero lines are reduced to a minimum. The images with "a" are those 
with the lines.

if(settings.increase_texrect_edge)
{
    if(lr_x - (int)lr_x != 0.0f)
        lr_x += (1.0f - (float)(lr_x - (int)lr_x));
    if(lr_y - (int)lr_y != 0.0f)
        lr_y += (1.0f - (float)(lr_y - (int)lr_y));
}
else if(rdp.cycle_mode > 1)
{
    lr_x += 1.0f;
    lr_y += 1.0f;
}

Original issue reported on code.google.com by pokefan0...@gmail.com on 25 Oct 2011 at 9:00

Attachments:

GoogleCodeExporter commented 8 years ago
some more examples

Original comment by pokefan0...@gmail.com on 25 Oct 2011 at 9:02

Attachments:

GoogleCodeExporter commented 8 years ago
but from 4:3 to 16:9?

Original comment by WC-Preda...@web.de on 25 Oct 2011 at 9:04

GoogleCodeExporter commented 8 years ago
same

Original comment by pokefan0...@gmail.com on 25 Oct 2011 at 9:10

GoogleCodeExporter commented 8 years ago
May this fix from poke here can change the error in mario kart 64 with 
hi-res-textures?

Original comment by WC-Preda...@web.de on 28 Oct 2011 at 2:18

GoogleCodeExporter commented 8 years ago
probably not related

Original comment by pokefan0...@gmail.com on 28 Oct 2011 at 3:02

GoogleCodeExporter commented 8 years ago
Looks like a nice idea, thanks! Implementation is a bit bulky though:

if(floor(lr_x) != lr_x)
    lr_x = ceil(lr_x);

should work the same.

Original comment by gon...@ngs.ru on 9 Nov 2011 at 10:02

GoogleCodeExporter commented 8 years ago
That's the difference between a developer and a non-programmer.
I will adopt your codes. Thks.

Original comment by pokefan0...@gmail.com on 9 Nov 2011 at 12:10

GoogleCodeExporter commented 8 years ago
Mario party 3 have ugly lines too in the screens before a item-game starts

Original comment by WC-Preda...@web.de on 11 Nov 2011 at 6:46

GoogleCodeExporter commented 8 years ago
Added in r260.

Original comment by gon...@ngs.ru on 21 Nov 2011 at 2:12

GoogleCodeExporter commented 8 years ago
Comment 4 by WC-Preda...@web.de, Oct 28, 2011

May this fix from poke here can change the error in mario kart 64 with 
hi-res-textures?

Comment 5 by pokefan0...@gmail.com, Oct 28, 2011

probably not related

Yes, don´t work for the other problem

Original comment by WC-Preda...@web.de on 23 Nov 2011 at 4:52

GoogleCodeExporter commented 8 years ago
The text corruption in Mario Tennis is fixed.

Original comment by pokefan0...@gmail.com on 27 Nov 2011 at 4:23

Attachments: