| Arisotura Member Level: 49 ![]() Posts: 413/614 EXP: 880011 For next: 3872 Since: 02-24-13 From: your dreams Since last post: 93 days Last activity: 51 days |
|
||
|
some updates on this project, and also a sneak peek on 0.2:
compatibility has been improved so far. not speed yet tho. the 3D renderer is getting better, it should be a bit faster and also more accurate. 3D rendering is lots of fun. writing a proper rasterizer isn't that hard, the hard part is replicating the behavior of a given GPU/renderer. back in the DOS days, rasterizers typically took shortcuts for better performance -- the DS GPU takes shortcuts too. those shortcuts matter even more as it uses fixed-point numbers. this level of accuracy generally isn't needed though -- in most games, you can even use OpenGL to draw the 3D graphics and it still looks fine. but you have those games that use the 3D GPU to draw 2D graphics (not that atypical as that GPU is more capable than the 2D engine), or require precision for whatever reason. not getting it right means you end up with hacks like "offset Z values a bit for this game, but it breaks that other game". the GPU is funny regarding 2D graphics, too. the method used for perspective-correct interpolation loses precision, but when interpolating between two identical W values, the GPU switches to lossless linear interpolation, so 2D graphics will look fine. the 2D renderer is also getting its share of improvements, for example, it supports windows now. stay tuned! ![]() ____________________ Kuribo64 -- NSMB2 hacking and other crap |










