Author Topic: Specular's Back on ATI Cards - Please Test  (Read 4543 times)

0 Members and 1 Guest are viewing this topic.

Offline Sticks

  • 29
Specular's Back on ATI Cards - Please Test
I think I've solved the problem that ATI cards were having with specmapping. It would seem that on nVidia cards, when you set a tex stage with D3DTA_SPECULAR, they assume that you want D3DRS_SPECULARENABLE to be true. However, with an ATI card, they assume that if you have D3DRS_SPECULARENABLE false, that you made a mistake in setting a stage with D3DTA_SPECULAR. For the record, the ATI drivers make the correct assumption. I'm surprised nobody caught this sooner...

So, without further ado:
Specular Test Build

Please test this in D3D, of course.

Edit:
Could everyone also test and make sure that the brightness control now works properly? It seemed to be working backwards previously.
« Last Edit: June 04, 2005, 11:59:38 am by 1354 »
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Specular's Back on ATI Cards - Please Test
And now I know what I'll be doing till Dr Who starts in an hour :) I'll test this immediately
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Specular's Back on ATI Cards - Please Test
it is just getting added on top of everything (like when I tried this) or is it getting modulated with the texture like it's suposed to?

hmm... doesn't seem to do anything.
« Last Edit: June 04, 2005, 12:15:52 pm by 57 »
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Sticks

  • 29
Specular's Back on ATI Cards - Please Test
It is getting modulated by the texture. Just look at a model that has an different colored highlight for the cockpit.

Should work just fine. I've got a Radeon 9800 w/ the latest drivers and I've got it going.
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Specular's Back on ATI Cards - Please Test
Well Shines are BACK!!!!!111111

But unfortunately this is what I also got this



This might not be completely your fault. I think I saw it a couple of times briefly with warp in's in taylor's latest. Here however I'm seeing it with trails, glowpoints, explosions, weapons fire. In fact all over the place.

Oh and brightness is the correct way round again :yes:
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Specular's Back on ATI Cards - Please Test
eh, stupid launcher didn't have spec enabled...

no, it isn't working right, all it's doing is adding specular color on top of the defuse texture, it is not modulateing with the spec map.

and in the documentation for that render state:
"When this member is set to TRUE, the specular color is added to the base color after the texture cascade but before alpha blending."

I have tried this, unfortunately it's not that simple.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 
Specular's Back on ATI Cards - Please Test
Same here, specular works but...



 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Specular's Back on ATI Cards - Please Test
well, the alpha effects there are because he needs to turn it off when lighting is turned off.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Sticks

  • 29
Specular's Back on ATI Cards - Please Test
Ok, build has been updated. Try it now, see if that helps the white boxes everywhere. Bob, try the new build and see if it helps with the actual specmapping itself.
"Napalm is good as a quickfire solution, literally..." -- cngn

"Shh... [Kazan's] schizophrenia allows him to multitask." -- Goober5000

Why am I still coding at 12:35am?

SCP: Templum sanctus ingeniosus

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Specular's Back on ATI Cards - Please Test
no change for me, still getting added
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Specular's Back on ATI Cards - Please Test
Shine's there, but it doesn;t seem to be related to the shinemap. Everything's shining at maximum levels, making all the ships look plasticy and...not nice.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Specular's Back on ATI Cards - Please Test
BTW has anyone ever tried ATI's suport system, I just did pure pain. :nod:
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Specular's Back on ATI Cards - Please Test
The white squares are gone though. So this is some improvement at least. Better crappy shines than no shines :)
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Admiral LSD

  • 27
  • Shorter of breath and one day closer to death
    • http://adphq.dyndns.org
Specular's Back on ATI Cards - Please Test
Quote
Originally posted by Black Wolf
Shine's there, but it doesn;t seem to be related to the shinemap. Everything's shining at maximum levels, making all the ships look plasticy and...not nice.


And that's different to ho shine maps look normally, how?

:P
00:19  * Snail cockslaps BotenAnna
00:19 -!- Snail was kicked from #hard-light by BotenAnna [Don't touch me there! RAPE!!!]

15:36 <@Stealth_T1g4h> MASSIVE PENIS IN YOUR ASS Linux

I normally enjoy your pornographic website... - Stealth
Get Internet Explorer!

 

Offline Col. Fishguts

  • voodoo doll
  • 211
Specular's Back on ATI Cards - Please Test
Quote
Originally posted by Admiral LSD


And that's different to ho shine maps look normally, how?

:P


Hold still for a moment.....steady....don't move

:snipe:
"I don't think that people accept the fact that life doesn't make sense. I think it makes people terribly uncomfortable. It seems like religion and myth were invented against that, trying to make sense out of it." - D. Lynch

Visit The Babylon Project, now also with HTL flavour  ¦ GTB Rhea

 

Offline Kosh

  • A year behind what's funny
  • 210
Specular's Back on ATI Cards - Please Test
The only problem I've ever had with specular is with Nebular missions. Other than that it has always been fine for me (and I haven't tested that fix).


EDIT: I use D3D.
« Last Edit: June 07, 2005, 06:16:49 am by 1313 »
"The reason for this is that the original Fortran got so convoluted and extensive (10's of millions of lines of code) that no-one can actually figure out how it works, there's a massive project going on to decode the original Fortran and write a more modern system, but until then, the UK communication network is actually relying heavily on 35 year old Fortran that nobody understands." - Flipside

Brain I/O error
Replace and press any key

 

Offline Ypoknons

  • Ancient
  • 28
    • http://www.xwaupgrade.com
Specular's Back on ATI Cards - Please Test
Sticks are back in SCP - please test :)
Long time ago, you see, there was this thing called the VBB and... oh, nevermind.

 
Specular's Back on ATI Cards - Please Test
yea that fixed the white boxes, but I tested it on the mission 'A Lion at the Door' and it kept stuttering near the end (when the Goliath got destroyed)

 
Specular's Back on ATI Cards - Please Test
Specular works on ATI cards in OpenGL...why bother with D3D? I use a 9800 Pro and wouldn't mind if D3D support was removed entirely. OpenGL shinemapping looks way better thanks to the -RLM parameter, and in OpenGL, better losing envmaps than shinemaps. If OpenGL environment mapping were properly implemented then we wouldn't need to fix Direct3D anyway.
« Last Edit: June 06, 2005, 10:41:38 am by 1644 »

 

Offline FireCrack

  • 210
  • meh...
Specular's Back on ATI Cards - Please Test
Posibly becaus OpenGL runs horrendously slow on ATI cards....


The fact that you have no problems doesnt mean no one else does.
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."