Views: 6,845,944 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 04-18-24 06:13 AM
Guest:

0 users reading Polygon Splitting bug | 1 bot

Main - General - Polygon Splitting bug Hide post layouts | New reply


Wifall
Posted on 07-20-21 04:25 PM (rev. 2 of 07-20-21 04:25 PM) Link | #4063
Just noticed a bug of the polygon splitting in the OpenGL renderer. Whenever I start the emulator with this option checked, the emulator forget to apply the effect and the graphics stay buggy anyway.
[image]


The only way to "fix" it is checking the option off and then checking it back on.


[image]

keisui
Posted on 07-20-21 05:01 PM (rev. 2 of 07-20-21 05:02 PM) Link | #4064
im still a bit confused as to what exactly polygon splitting does as google doesnt exactly explain what it is , does it like try to smoothe them out or attempt to make them less..polygon-y or something like that ¿ im not seeing any difference in the two photos

____________________
petrol for breakfast

Wifall
Posted on 07-20-21 05:19 PM (rev. 2 of 07-20-21 05:19 PM) Link | #4065
If you check the character in the center of the screen closely, you'll notice that in the first screenshot he's bugged, while in the second screenshot he isn't.
Polygon splitting is a method that combines 2 triangles to form a quadrilateral (since the DS works with quadrilaterals instead of triangles).
Most GPUs only work with triangles thus making the image bugged, this method prevents that.

Arisotura
Posted on 07-20-21 05:22 PM Link | #4066
polygon splitting isn't perfect, it's just a sorta-fix. basically, for polygons with more than 3 edges, it finds the center and divides the polygon into triangles going around the center.

anyway, seems there's a bug in the UI or something? I'll have to look into it.

____________________
Kuribo64

Wifall
Posted on 07-20-21 05:25 PM Link | #4067
Not a bug in the UI, but in the emulator itself. I you check the polygon splitting on in the OpenGL it'll work normally. However, next time the emulator starts, it will forget to apply the effect.

Arisotura
Posted on 07-20-21 05:31 PM Link | #4068
I see what the issue was - see if it persists in the last revision?

____________________
Kuribo64

Wifall
Posted on 07-20-21 05:43 PM Link | #4069
Posted by Arisotura
I see what the issue was - see if it persists in the last revision?


Yup, the bug is fixed in the newest revision.

keisui
Posted on 07-20-21 05:45 PM Link | #4070
Posted by Wifall
If you check the character in the center of the screen closely, you'll notice that in the first screenshot he's bugged, while in the second screenshot he isn't.
Polygon splitting is a method that combines 2 triangles to form a quadrilateral (since the DS works with quadrilaterals instead of triangles).
Most GPUs only work with triangles thus making the image bugged, this method prevents that.

i did see the character yea , i just assumed that was part of his character animation changing between two sprites , although since the character looks to be sprite based i would imagine polygon splitting wouldnt do anything as the sprite has no polygons , just a 2d image . i could be completely wrong though

____________________
petrol for breakfast

Arisotura
Posted on 07-20-21 05:49 PM Link | #4071
the sprite may be rendered by the 3D engine, in which case it is still a polygon technically (generally a quad).

____________________
Kuribo64

keisui
Posted on 07-20-21 06:50 PM Link | #4074
ahh oki got it

____________________
petrol for breakfast


Main - General - Polygon Splitting bug Hide post layouts | New reply

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