Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Platforms
PCXboxPlayStationNintendo
Games
ActionStrategyRole Playing GamesSimulatorsSport Games

Game Forum / Action Games / Doom / August 2004

Tip: Looking for answers? Try searching our database.

fwd: Doom 3 mod for ATI Cards

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
EmDzei - 31 Aug 2004 13:27 GMT
I find this message on news://alt.comp.periphs.videocards.ati:

"If this has been posted before, oh well, here it is again then.  If
not, well enjoy.  It worked fantastically for my 9800 Pro.  I pulled
the info from http://www.megagames.com/.

Wil

Begin pasting...

I think I've found the source of why this game runs comparably slow on
ATI hardware vs. nVidia at the moment, and found a solution to the
problem.

First, open your doom3\base folder. Double-click on the pak000.pk4
file. In the "window can't open this file .. .bla bla" dialog, go on
and associate the file with an app like WinRar. With this file open in
WinRar, go to the glprogs directory in the file. In there you'll find
the shaders. The interaction.vfp file seems to be the main rendering
shader. Altering this shader to output a constant color turns most
objects into that constant color, except for stuff like computer
screens etc.

So double-click the interaction.vfp file to open it (you may have to
associate the .vfp extension with a text editor like Notepad or
WordPad first since we're going to edit the file). Scroll down to the
fragment shader. You'll find these rows:

Code:

PARAM subOne = { -1, -1, -1, -1 };
PARAM scaleTwo = { 2, 2, 2, 2 };

Add this right below them:

Code:

PARAM specExp = { 16, 0, 0, 0 };

Now scroll down to this:

Code:

# perform a dependent table read for the specular falloff
TEX R1, specular, texture[6], 2D;

Comment out that line by adding a "#" to it, and add another line that
will do the same thing with math instead, so it should look like this:

Code:

# perform a dependent table read for the specular falloff
# TEX R1, specular, texture[6], 2D;
POW R1, specular.x, specExp.x;

Save the file and close your text editor. WinRar will ask if you want
to update the file in the archive, select yes. Close WinRar and enjoy
about 40% higher performance in Doom3. Haven't done extensive testing
yet, but my performance went from 34fps in 1280x1024 to 48fps."
Keanu - 31 Aug 2004 17:51 GMT
This is the original findings of Humus about pixel shaders optimisations.
It was said and thought earlier that this early 'MANUAL FIX YOUR PK4' version
is incomplete, and will cause various artefacts in different manners.
But I'm sure you can continue testing it, and see for yourself; Then report what you see.

But the principle by itself is correct:

The Diffuse light components are computed from the tool that generates the levels,
using costly, time consuming radiosity mathematics. On teh other hand;
<Specular light is simple compared to that, and if ATI cards appear to be
texture trashing more than Nvidia, they are in turn more capable to REALLY compute
their component values instead of reading a pre-computed values in a texture buffer..

Check this site for evaluation and some details:
http://www.elitebastards.com/page.php?pageid=6201&head=1&comments=1

And remember their comment:
"As we can see, Humus' tweak has a much greater effect when
using ATIs own control panel anisotropic filtering than when in-game filtering is used. "

I have not tried the manual method... Too many replied it caused glitches already.
But I guarantee the later version is like the elitebastards say.. Works great.
Makes the framerate much smoother, steady. Prevents texture trashing.
Works here... During all my experimentations with it, comparing with and without;
There is no mistake; This works and does not cripple anything. It just makes things
better for later ATI cards such as radeon9600/9700/9800, or even X800.

The latest 'All done, no editing required" version of Humus can be found here:
To try; Just unzip in your Doom3 folder, and it will just add a glprog folder in the
base, with 'interaction.vfp' fixed... If you don't want it.. Just remove that extra file.
http://alexharis37.free.fr/doom/humusd3atitweak.zip

Regards.
N?o

>EmDzei wrote in message ...
>I find this message on news://alt.comp.periphs.videocards.ati:
[quoted text clipped - 7 lines]
>Begin pasting...
>First, open your doom3\base folder. Double-click on the pak000.pk4
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.