JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.03k stars 614 forks source link

Flares drop the FPS #403

Closed aronkihui closed 11 years ago

aronkihui commented 11 years ago

When I activate the flares, it drops the fps a lot, really a lot. If you are playing at 800x600, maybe you are not going to see this issue. I am playing on mac and I remenber that in windows this very simple effect didn't drop the fps like OpenJK. I belive that is a driver problem maybe, because I played the wrapper version of Lucas's Jedi Academy on Mac, and I set on the flares option, it droped the fps too. But!, maybe you can do some thing with OpenJK X). Please? :(

Razish commented 11 years ago

Maybe you're playing with a debug version, without optimisations? The flare code hasn't been touched.

ensiform commented 11 years ago

Flares are going to eat FPS regardless. And the JA vanilla renderer does them similarly to dynamic glow with extra passes..

aronkihui commented 11 years ago

Sorry... maybe is only a driver problem. ensiform, about Vanilla renderer, any suggestion? How can I change the renderer?, which is better for you?

ensiform commented 11 years ago

There is only vanilla renderer. The problem is that they just eat FPS by design.

aronkihui commented 11 years ago

OK, I'm going to turn off Flares. Is lamentable ;( the flares luked just great. In Windows this issue doesn't hapnen. It is a driver problem I guess.

ensiform commented 11 years ago

It does happen on windows too, it just depends on system.

xycaleth commented 11 years ago

What kind of mac are you running (e.g. MacBook Air, Pro or iMac)? And how old is it? Dynamic glow on my air runs very poorly but this is most likely due to the graphics chip. I imagine if the renderer was changed then better fps might be achievable for flares but this would take a huge amount of effort.

aronkihui commented 11 years ago

It is the Macbook Pro md101 (13-inch, Mid 2012) It has Intel Core i5, 4Gb of RAM, 500Gb of HDD and the graphic adapter is the Intel HD 4000 (3th generation, Ivy Bridge). It is a driver issue I guess because it happens in the wrapped Whindows version too. Other question, I have a friend who can't run may compiled binary, why?

ensiform commented 11 years ago

How old is his mac? There is no PPC support.

ensiform commented 11 years ago

Gonna need to be more specific other than can't run the binary.

aronkihui commented 11 years ago

above I specified my specs XD. I was very specific -_-

Razish commented 11 years ago

Right, but we don't know what specs your friend has, nor any other information that might tell us why it "doesn't run" (i.e. terminal log)

aronkihui commented 11 years ago

aa sorry, his has the same computer, and the terminal said "Unknown Application" or something like that. I remember that he has Snow Leopard installed instead Mountain Lion like me. AAA!, he didn't install SDL, maybe that is the problem.

ensiform commented 11 years ago

Get the full line please, not "something like that". But yes SDL2 would be required along with the other dependancies.

aronkihui commented 11 years ago

mmm I'm going to try... don't worry about the last line of the console. If it had gave useful information I had tried with that (actually, I forgot to use the console XP... this message come from the Finder XP). Sorry for my incompetence X).

aronkihui commented 11 years ago

mmm I'm going to try installing the SDL 2 library... Don't worry about the last line of the console. If it had gave useful information I had tried with that (actually, I forgot to use the console XP... this message come from the Finder XP). Sorry for my incompetence X). It is for didn't install the SDL 2 library I guess. I'm chilean, what do you thing about my English?, just a joke.