Новости > Показать отдельно
Shash DeSmuMe WIP
Yaranga, 14:19, 10-10-2007
Обновление эмулятора NDS для Windows.
- Shadows and next step...
Today, after reading Martin Korth's recently released (he hadn't updated it since ages ago) explanation on how DS hardware shadow volumes work, I attempted to implement them, as it was easier than I thought: it's not like the stencil shadows implementations that I've seen on PC, were the stencil is used to block lighting, and usually a shadow volume has to be computed per light. On the DS, it's a two step process: first, a mask step, which basically creates a mask to know where the next step should be applied, and a second step, that it's simply drawing a certain (usually black or dark) volume were the mask lets us. Light computation/s is NOT used at all :P
For example, imagine a cylinder intersecting the floor, the first step would create a mask that would resemble a circle on the floor (in fact it doesn't work exactly like that, but for the explanation sake...), and the second would paint a dark colour on that circle (and nowhere else). Why use a cylinder, and not a circle directly? Because we can't be sure of the topology/shape of the floor, neither if it'll be a floor, or animated: using this approach, we can shadow whatever is inside our cylinder, without the need of knowing the rest of the object/s in the scene.
So here's the result, and that fixes one of the last "big" bugs on Mario 64 DS. In the process I also fixed and important blending/transparency bug, which narrows even more the list of graphic bugs: only small ones left, the "waves" background on the save selection screen don't look exactly as on the DS, probably due to the way lights or normals are treated right now and the writing on Daisy's letter don't fade correctly (2D core related). Anyway, here's two shots of Mario 64 DS, and one of Tak - The Great JuJu Challenge:
About Tak - The Great JuJu Challenge, it's my next target to debug, as it show geometry, but it's completely wrong/uninitialized. Were it should show an animated mesh, it just show a static blob of what seems random data. I've a few ideas about what could cause that, but first I'd like to spend some trying them.
Have fun :)
Vincent [18:01, 10-10-2007]
посмотримс...
Vincent [18:04, 10-10-2007]
А как его скачать? Мдя...
dosker [19:20, 10-10-2007]
логично! поместить ссылку в никуда! Молодцы!
Impuissant [19:31, 10-10-2007]
Mario 64 DS тормозит не выносимо.
Monster! Bass Fishing
Игры Game Boy Advance
» Какие сериалы Вы смотрите 12:55
» Steam 12:35
» Эмуляционный арт 12:03
» Собираю ретро-ПК 11:40
» Что входит в понятие "чит"? 11:27
» [NES] Любимые воспоминания о Денди 11:20
» Совместное прохождение игр c участием Ниндзя 11:18
» Rgb кабель nintendo wii pal rvl-001 11:12
» [GEN] Zero Tolerance 11:07
» Dendy Junior помогите опознать транзистор 11:01
» [GEN] Ristar 11:00
» PSOne проблема с картинкой 10:41
» Эмуляция Nintendo Switch 10:21
» Angry Video Game Nerd и другие 09:50
» Имеется два клона Sega MD2, хотелось бы их переделать с 50гц Pal на 60Hz NTSC. 05:50