• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 32 33 34 35 36 ... 117 Next »

Issue 8317 - Messed up bloom
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Issue 8317 - Messed up bloom
10-27-2015, 09:35 AM
#1
TheComet
Unregistered
 
Hey guys


A while ago I opened a bug concerning a broken bloom effect in the game "Spyro - A Hero's Tail". The game runs fine safe for this issue.

I recently decided to try and see if I could fix the bug myself. I'm a fairly experienced programmer but the project is overwhelming to take in.

Can someone take a look at this and tell me where I should be looking in the code? If you can give me some hints or theories as to what's causing this that would also help a lot.

FIFO Log

(extension is actually dff.tar.xz, I had to add .bmp so the forums could accept)
(unzip with 7zip or if you're on a *nix based system, tar --xz -xf <file>)


.bmp   spyro-a-heros-tail-swamp.dff.tar.xz.bmp (Size: 428.91 KB / Downloads: 207)

Bug Report

The filed bug can be found here: https://bugs.dolphin-emu.org/issues/8317

Video

Here is a video of the bug in action:

https://www.youtube.com/watch?v=spBwTw5AyuA

Screenshots

Here's a screenshot of the issue, notice the smear on the fairy's wings:

[Image: P7IdDMp.jpg]

apitrace of fifo log replay

I ran an apitrace of the game (using the GL backend) and found some interesting results. The scene I traced can be seen here:

[Image: Y1XDA9j.png]

The bug appears during the second downsampling pass of the "glow mask" (these images were scaled up with GIMP):

Initial mask (texture size: 160x122)
[Image: W7WgaOM.png]

First pass (texture size: 80x56)
[Image: l4i1NUk.png]

Second pass (texture size: 40x28)
[Image: KuvkDvN.png]

(If anyone wants the .trace file I can upload it.)

See the result from the second pass? It's all smeared. This should not be happening and this is the cause of the smears seen in the video.

Any ideas what's causing this and where I should be looking?
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Issue 8317 - Messed up bloom - TheComet - 10-27-2015, 09:35 AM
RE: Issue 8317 - Messed up bloom - KHg8m3r - 10-27-2015, 01:12 PM
RE: Issue 8317 - Messed up bloom - JMC47 - 10-27-2015, 06:00 PM
RE: Issue 8317 - Messed up bloom - degasus - 10-27-2015, 06:17 PM
RE: Issue 8317 - Messed up bloom - JMC47 - 10-27-2015, 06:23 PM
RE: Issue 8317 - Messed up bloom - TheComet - 10-27-2015, 09:30 PM
RE: Issue 8317 - Messed up bloom - degasus - 10-27-2015, 09:45 PM
RE: Issue 8317 - Messed up bloom - KHg8m3r - 10-28-2015, 03:28 AM
RE: Issue 8317 - Messed up bloom - phire - 10-28-2015, 02:50 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode