Views: 6,831,075 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 04-16-24 07:27 PM
Guest:

0 users reading OpenGL Renderer Black Lines on ground - Pokémon HeartGold | 1 bot

Main - General - OpenGL Renderer Black Lines on ground - Pokémon HeartGold Hide post layouts | New reply


NathanYumekoe
Posted on 06-22-20 04:55 PM Link | #1922
As title states, I am facing issues with the OpenGL renderer on Pokémon HeartGold. I don't want to use SoftRasterizer as it doesn't allow for higher resolutions. Is there any known fix?
[image]

Generic aka RSDuck
Posted on 06-23-20 12:52 AM Link | #1923
this is a known issue with fourth gen Pokemon games and can be attributed to the DS's GPU being very different (read: less accurate) than modern GPUs.

____________________
Take me to your heart / never let me go!

"clearly you need to mow more lawns and buy a better pc" - Hydr8gon

NathanYumekoe
Posted on 06-26-20 09:13 AM Link | #1926
Posted by Generic aka RSDuck
this is a known issue with fourth gen Pokemon games and can be attributed to the DS's GPU being very different (read: less accurate) than modern GPUs.

But why does it not happen with SoftRasterizer? I don't want to bring it into this, but Desmume's OpenGL render also renders it fine.

Generic aka RSDuck
Posted on 06-26-20 01:04 PM Link | #1927
melonDS's software renderer is quite accurate, so it does very much the same thing as the GPU in a real DS and thus those artefacts don't occur. On the other hand the OpenGL renderer sends the geometry to the GPU to render it. GPUs are specialised hardware, so they are fast which makes things like rendering at a higher resolution is possible, but that also means we have less control over how they work. And modern GPUs are a lot less quirky and unexact than the DS, so things like this appear.

Regarding desmume, both it's software and it's OpenGL renderer are pretty inaccurate to the actual hardware. At some point they added a hack which prevents the black lines to the OpenGL renderer. But if I'm not wrong, they didn't bothered with the sw renderer (so it still has this issue).

____________________
Take me to your heart / never let me go!

"clearly you need to mow more lawns and buy a better pc" - Hydr8gon

Arisotura
Posted on 06-26-20 01:35 PM (rev. 2 of 06-26-20 01:35 PM) Link | #1928
issue is that the vertices given by the game are slightly inaccurate, but the way the DS GPU determines polygon borders makes up for it. basically, I don't recall the details, but given two points forming a perfectly vertical line, you can move one of the points one pixel on one side and the polygon border is still the same.

working around this in the GL renderer should be easy enough, but I'd need to research this effect more.

____________________
Kuribo64


Main - General - OpenGL Renderer Black Lines on ground - Pokémon HeartGold Hide post layouts | New reply

Page rendered in 0.023 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 86/86, time: 0.015 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.