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

Re: Request

Heathen said:
Any chance of turning it into a Screensaver?

Well, I haven't designed my framework with screensavers in mind. Might do that someday.
 
Cool. No, Exp/Log have native support at full precision in one instruction, so it's going to be faster than more than 2 muls.
 
Are you saying that,

LG2 temp, specular.x;
MUL temp, temp, specExp;
EX2 specular, temp.x;

executes in two clocks?
 
Humus just for the 'knees'... :)

On a P4@2.8 + R9700Pro Phong ran around 50 fps (fullscreen) together with the 'Dinosaur' (Divx) on the TVout - at the very same time... :eek: :p
 
Humus said:
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.
Humus,
AFAICS, Phong's lighting model should be quicker than Blinn's when you have multiple lights OR the view direction is assumed not to be at infinity OR you have point source (i.e. non parallel) lights.
 
In my implementation it's the same number of instruction in both models. You'll also most likely want to separate each light anyway for shadows and stuff.
 
Back
Top