Something to bring your Radeon 9700 to it's knees.

Humus

Crazy coder
Veteran
Yup, my latest demo does that, almost. Simple scene + complex lighting = around 50fps in 1024x768. :)
What I have done it to evaluate the phong illumination model in a fragment_program, replacing things like normalizing cubemaps with math.

phong.jpg


Get it here:
http://humus2.campus.luth.se/~humus/

(OT: Damn how hard "phong" is to write, it tends to end up as "phone", even while writing this sentence. :LOL: )
 
Wow did it EVER bring my 9700 Pro to its knees:

"Your driver doesn't support GL_ARB_fragment program. This demo will now exit."

I'm using the current 6193 drivers on Windows XP, btw.
 
Humus said:
(OT: Damn how hard "phong" is to write, it tends to end up as "phone", even while writing this sentence. :LOL: )
Imagine how hard it would have been if, instead of mistakenly using his 'given' name 'Phong', they had correctly used his family name, Bui-Tuong.
 
I should use the latest 6200 drivers? You should have mentioned that when you first mentioned your demo.

Unfortunately, though Rage3d does have a link to them, here's also what they wrote:

"This driver is an internal leak and hasn't been to successful on some systems. I wouldn't recommend using them as they break some features. I have word that the official 7.79 set will be released soon!"
 
Joe Cool said:
I should use the latest 6200 drivers? You should have mentioned that when you first mentioned your demo.

Unfortunately, though Rage3d does have a link to them, here's also what they wrote:

"This driver is an internal leak and hasn't been to successful on some systems. I wouldn't recommend using them as they break some features. I have word that the official 7.79 set will be released soon!"

Yeah, I forgot.
I had some problems with the 6200 at first, it didn't work when using two monitors. When I disable the secondary display it works just fine though. If you're using a single monitor I think it's pretty safe to use it.
 
Worked great for me, even with dual displays enabled, using the 6200 driver set

with 2X AA and 16X AF on I got around 35 FPS while just sitting there watching the lights

9700 Pro
P4 @ 2.7Ghz (150 fsb)
512mb ddr at 150

looked pretty sweet! very sexy...
 
Humus said:
You need to very latest 6200 drivers.

I'm running the 7.79 driver from the ATI developer site. (6.13.10.6200)

It still complains about GL_ARB_fragment_program.

Is the leaked driver newer than that?
 
Phong

Wow, fantastic demo. Hovers at 60 fps on my system, 4*AA, 16*AF.

Weird thing is that GLInfo doesn't report ARB_fragment_program being available on the 6200s. Not that I'm worried mind you.
 
Nice work indeed! :D The tiles (dunno if that's the correct word) look really real!

Now do add some shadows into that "bathroom" and voilá! ;)

Worked fine with my R9700 & 6200 drivers...
 
Hyp-X said:
Humus said:
You need to very latest 6200 drivers.

I'm running the 7.79 driver from the ATI developer site. (6.13.10.6200)

It still complains about GL_ARB_fragment_program.

Is the leaked driver newer than that?

The leaked driver has OpenGL version 1.13.3413, while I think the developer driver has 1.13.3410.
 
Re: Phong

Heathen said:
Wow, fantastic demo. Hovers at 60 fps on my system, 4*AA, 16*AF.

Weird thing is that GLInfo doesn't report ARB_fragment_program being available on the 6200s. Not that I'm worried mind you.

Well, GLInfo is right. It's not exposed. However, it's still fully functional as far as I can tell. I suppose it not exposed yet because of some issue I don't know about or maybe it just isn't tested enough yet. I did a dirty hack to allow this driver to be accepted anyway. I first check for GL_ARB_fragment_program in the extension string. If it's not there I check if the vendor string is "ATI Technologies Inc.", and if so then if the version string is 1.13.3413 or higher it sets GL_ARB_fragment_program = true. I'll remove that hack once a driver properly exposes the extension.
 
Hyp-X said:
Humus said:
You need to very latest 6200 drivers.

I'm running the 7.79 driver from the ATI developer site. (6.13.10.6200)

It still complains about GL_ARB_fragment_program.

Is the leaked driver newer than that?

It's weird... it works here...
 
Cool program.

A quick look through the shader shows that you used a bunch of multipliers for the specular. You could of used the log/exp functions instead -- 3 instructions instead of 7 or 8.

Just a quick note.
 
Looks nice, kinda boring. It did take my system down on exit though, dunno if that's what you were referring to by bringing the card to it's knees. :) The number 22 was in the top left corner at 1600x1200x32.

You should really do up an OpenGL benchmark out of this stuff. Do as good a job as madonion and you might even make some money off of it.
 
sireric said:
Cool program.

A quick look through the shader shows that you used a bunch of multipliers for the specular. You could of used the log/exp functions instead -- 3 instructions instead of 7 or 8.

Just a quick note.

Yeah, I know. I figured exp and log would be noticeably slower, and I didn't need a perpixel exponent anyway, but I didn't test though. Might aswell do that.
 
Alright, changed to EX2/LG2 for power and it turns out to be faster. I was also informed that what I had done was actually closer to Blinn illumination. So now I have updated the app to support both blinn and phong, just type "blinn" or "phong" on the console and it'll switch shader. Fixed a problem with ambient too.
 
Back
Top