Author Topic: Anti-aliasing introducing artifacts  (Read 4921 times)

0 Members and 1 Guest are viewing this topic.

Offline Nemesis6

  • 28
  • Tongs
Anti-aliasing introducing artifacts
I'm talking about the driver-forced kind. It seems to introduce artifacts on effects like thrusters/afterburners. In practice it translates to four small artifacts around crafts' engines, following them around. Sometimes it's not really visible, at most times, it's pretty visible, though. I know I'm entering into a touchy subject, I mean the way the game's renderer works and all, but I thought I'd see if I couldn't stur up the nest as far as this apparent non-issue goes.

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Anti-aliasing introducing artifacts
It is a known issue on NVidia cards at least. Enabling anti-aliasing seems to be the deciding factor with those flickering dots after thrusters, but there are conflicting reports with different graphics cards (mine is a GF8800GT and the issue definitely depends on anti-aliasing with this one). I do not know if it occurs on Radeons too.

Since it seems to be basically a hardware/driver issue, there is a limited amount of things that can be done about it. Turning anti-aliasing off is an option but suckens the general graphics in my opinion at least.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

  

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Anti-aliasing introducing artifacts
I've got a G92 card and haven't seen any issues with 2x or 4x AA and 2x AF forced in the control panel.  Just my report.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Zacam

  • Magnificent Bastard
  • Administrator
  • 211
  • I go Sledge-O-Matic on Spammers
    • Steam
    • Twitter
    • ModDB Feature
Re: Anti-aliasing introducing artifacts
Chief: but is yours forced to over-ride the application or enhance the application?

I get defects on my 7600 GT, 8800 GTS 640, 8800GT 512 and my 9800 GT's if I override the application settings under any AA values, but if I set it to enhance, no artifacts.
Report MediaVP issues, now on the MediaVP Mantis! Read all about it Here!
Talk with the community on Discord
"If you can keep a level head in all this confusion, you just don't understand the situation"

¤[D+¬>

[08/01 16:53:11] <sigtau> EveningTea: I have decided that I am a 32-bit registerkin.  Pronouns are eax, ebx, ecx, edx.
[08/01 16:53:31] <EveningTea> dhauidahh
[08/01 16:53:32] <EveningTea> sak
[08/01 16:53:40] * EveningTea froths at the mouth
[08/01 16:53:40] <sigtau> i broke him, boys

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Anti-aliasing introducing artifacts
Override.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Nemesis6

  • 28
  • Tongs
Re: Anti-aliasing introducing artifacts
I tested this with a Radeon 4870, and it appeared on that card, too. I think I'll test the "enhance" feature, but isn't that contingent on the game already having anti-aliasing? I'm using a 260GTX, and I'll have a stab at it right now.

Edit: As I expected, "enhance" does nothing. Override works, but with very visible artifacts.
« Last Edit: February 13, 2010, 10:17:06 am by Nemesis6 »

 
Re: Anti-aliasing introducing artifacts
It appears on my GTX260 as well.  With the combined supersampling and multisampling modes, the effect is smaller but still there =(

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: Anti-aliasing introducing artifacts
I get this effect too, but I have seen it for so long now that I'm used to it. You can see it on not only thrusters, but text and interface graphics too. It has something to do with how the game handles pixel coordinates on textures. It may be possible to avoid it with a pure SSAA mode like 4x4, but those modes are performance hogs for the IQ you get.

A lot of games were affected by this issue in the late 90s, and many games had command line switches to fix the problem depending on the video card. Descent 3 had something like that for example.

 

Offline Venox

  • 23
Re: Anti-aliasing introducing artifacts
My apologies for bumping this thread, but I felt this response didn't warrant a completely new thread, plus it may solve the problem brought up. I had also had this problem with the artifacts behind thruster trails.

I use a nVidia GTX290, and use the nHancer utility.
 
However I was messing around with nHancer settings, and I appear to have found a configuration that seems to almost completely eliminate the artifact. Almost, because if you boot up the F3 tech lab, go to a rather large ship such as the Colossus, or as I tested, the SJ Dante and Vishnan Preserver from the BP: AoA Director's Cut, and you turn on thrusters and zoom as far out as you can, I was still able to see some artifacting, but certainly not as much as before. I couldn't exactly figure out how to take screenshots to demonstrate my comparison from the F3 tech lab. >_>

I am not sure if it will help anyone, as my configuration could completely have other factors that may have helped, but I played through the vanilla FS2 campaign with mediavps, The Procyon Insurgency, and BP: AoA Director's Cut with this new FreeSpace 2 nHancer profile and definitely did not notice any of the old thruster visual issues.

The profile is set to a Combined, 2x2 Supersampling / 8x Multisampling, with Anisotropic Filtering set to 16x, Vertical Sync is on, OpenGL Triple Buffer Forced, High Quality Texture Filtering.

(Btw, it appears I cannot directly attach an nHancer (.nhprofile) file, so I have packaged it within a .7z, which is allowed.)

I'm not entirely sure if this will work for everyone, or...anyone. As previously noted, the problem is one that can probably never truly be solved, and I'm one of those players who cannot stand playing any version of FreeSpace 2 without anti-aliasing. But at least if this helps some people, I'm glad. I can't think of any other possible details I can give, but if anyone gives the profile a whirl and sees a difference (or subsequently, no difference), I'll try and see what else may have worked.

Again, if I wasn't supposed to bump, my apologies, not very much of a poster you see. (I lurk a lot though.) =)

[attachment deleted by admin]

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Anti-aliasing introducing artifacts
Try FRAPS or even just the PrintScreen key to take screenshots in the lab.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Anti-aliasing introducing artifacts
Is the engine overhaul project going to deal with this issue?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Anti-aliasing introducing artifacts
Not any time soon at least.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline Venox

  • 23
Re: Anti-aliasing introducing artifacts
Try FRAPS or even just the PrintScreen key to take screenshots in the lab.

Okay, so Print Screen WAS taking screenshots, I just couldn't locate them. :p

Anyhow. They were in .tga format and I didn't have a reliable way to convert them to .png so I apologize if image quality seems poor.

I didn't take too many, each ship seems to vary in how effective the change seemed. Mostly it seems affected by distance, as even with these new settings, zooming as far as out possible still shows slight (but a lot less noticeable) artifacting.

If you click on the thumbnails and then again on the next page, looking at the pictures full, you can best see the artifacts. Didn't think I was allowed to post full screen images here so thumbnails, ahoy!


Combined, 2x2 Supersampling / 8x Multisampling


16x Multisampling/Coverage Sampling (seemed equivalent to just using the nVidia Control Panel to override with 16xQ, what I've been playing with for the last two years)


Combined, 2x2 Supersampling / 8x Multisampling


16x Multisampling/Coverage Sampling

Granted those pictures weren't exactly same distance, same angle, so I tried a more equal comparison with the Vishnan Preserver (it seemed to demonstrate the difference best IMO).


Combined, 2x2 Supersampling / 8x Multisampling - half zoom


Combined, 2x2 Supersampling / 8x Multisampling - max zoom

Note that there was still artifacting in the above two pictures, though not as much as these two below.


16x Multisampling/Coverage Sampling - half zoom


16x Multisampling/Coverage Sampling - max zoom

Ninja Edit!: Forgot to add, by all means, my eyes could totally fail and these pictures are still horribly bad. XD But at least to me, It visually feels better in game!

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Anti-aliasing introducing artifacts
These pictures ARE bad. They are taken from a distance that is far too great to make out details.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Venox

  • 23
Re: Anti-aliasing introducing artifacts
These pictures ARE bad. They are taken from a distance that is far too great to make out details.

Sorry, but I thought that was the point. The artifacting won't be seen on the thruster tails at any closer of a distance, which I had presumed was the problem outlined in this thread. If I had completely misjudged the problem at hand though, I am sorry for trying to help.

At the very least, it seemed to work for me. I don't know how else to describe what I can see changed. I'll see what else I can do. *shrugs*

Thanks for your time. =)

 

Offline Herra Tohtori

  • The Academic
  • 211
  • Bad command or file name
Re: Anti-aliasing introducing artifacts
These pictures ARE bad. They are taken from a distance that is far too great to make out details.

The flickering artefacts tend to appear at long distance and disappear as you go closer to the thruster in question.
There are three things that last forever: Abort, Retry, Fail - and the greatest of these is Fail.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Anti-aliasing introducing artifacts
Sorry, my bad. didn't read the thread properly.

Anyway, shouldn't that same effect be more visible on fighters, at shorter ranges?
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Anti-aliasing introducing artifacts
So he's right.  Anyway, try converting with IrFanView or Paint.NET, both can handle the TGA format.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: Anti-aliasing introducing artifacts
Has anyone ever tried simply setting the texture wrap mode to clamp-at-edge instead of wrap when rendering the thrusters?  If it's a border addressing issue then that should fix it, and take all of 4 lines of code to do.