Antialiasing Problem
-
Topic authorDanial
- Posts: 33
- Joined: 31.03.2008
- Age: 45
- With us: 16 years 7 months
- Location: Gold Coast, Australia
Antialiasing Problem
I've found that using AA is making no difference at all to Celestia's rendering and was just wondering if anyone knew why this might be. I've created a zoomed-in comparison image as proof:
The image on the left was with AA Off and right is On, and as you can see there is no difference at all.
I'm running v1.5.1 on Vista and have a GeForce 8600M GT video card if that helps solve the problem at all.
The image on the left was with AA Off and right is On, and as you can see there is no difference at all.
I'm running v1.5.1 on Vista and have a GeForce 8600M GT video card if that helps solve the problem at all.
Re: Antialiasing Problem
It's not a problem with antialiasing, it's that you're looking at something where antialiasing has no effect. Unless you are actually /seeing/ aliasing, antialiasing does nothing. Go look at http://en.wikipedia.org/wiki/Antialiasing
For that matter, your images are so lo-rez that any differnce would be invisible anyway.
For that matter, your images are so lo-rez that any differnce would be invisible anyway.
-
Topic authorDanial
- Posts: 33
- Joined: 31.03.2008
- Age: 45
- With us: 16 years 7 months
- Location: Gold Coast, Australia
Re: Antialiasing Problem
Shouldn't the edge of the sphere be "softened" with antialiasing? That's what it does in other programs.
EDIT: Looking at that Wiki link, I was actually thinking of MSAA as opposed to just AA.
So if it doesn't remove jagged edges from objects in Celestia, what exactly does it do? And also, is it possible to enable MSAA in Celestia?
EDIT: Looking at that Wiki link, I was actually thinking of MSAA as opposed to just AA.
So if it doesn't remove jagged edges from objects in Celestia, what exactly does it do? And also, is it possible to enable MSAA in Celestia?
Re: Antialiasing Problem
Which anti-aliasing are you talking about?
Celestia implements it in two different environments.
The anti-aliasing entry (Ctrl-X) in the Render pulldown menu only affects orbital paths. It does nothing for the edges of spheres.
The entry in celestia.cfg controls full-screen anti-aliasing.
AntialiasingSamples 4
You have to delete the # at the beginning of its line to enable it. It affects everything, but only if you've enabled application controlled anti-aliasing in your grahics driver's Display Properties.
Celestia implements it in two different environments.
The anti-aliasing entry (Ctrl-X) in the Render pulldown menu only affects orbital paths. It does nothing for the edges of spheres.
The entry in celestia.cfg controls full-screen anti-aliasing.
AntialiasingSamples 4
You have to delete the # at the beginning of its line to enable it. It affects everything, but only if you've enabled application controlled anti-aliasing in your grahics driver's Display Properties.
Selden
-
Topic authorDanial
- Posts: 33
- Joined: 31.03.2008
- Age: 45
- With us: 16 years 7 months
- Location: Gold Coast, Australia
Re: Antialiasing Problem
Mine is set to '4', but to my eyes, the Earth sphere in the sample I posted isn't smoothed. Can I go higher than 4?
- cartrite
- Posts: 1978
- Joined: 15.09.2005
- With us: 19 years 2 months
- Location: Pocono Mountains, Pennsylvania, USA Greate Grandfother from Irshava, Zakarpattia Oblast Ukraine
Re: Antialiasing Problem
As high as your card allows. This can cause the fps to drop though.Danial wrote:Mine is set to '4', but to my eyes, the Earth sphere in the sample I posted isn't smoothed. Can I go higher than 4?
cartrite
VivoBook_ASUSLaptop X712JA_S712JA Intel(R) UHD Graphics 8gb ram. Intel(R) Core(TM) i5-1035G1 CPU @ 1.00GHz, 1190 Mhz, 4 Core(s), 8 Logical Processor(s) 8 GB ram. Running on Windows 11 and OpenSuse 15.4
Re: Antialiasing Problem
Make sure you have enabled mipmapping and anisotropic filtering also.
BTW, blurring the edges of objects is really only a side effect of antialiasing. When you really need it is if you're seeing odd-looking moire patterns in the middle of a object that aren't in the texture.
BTW, blurring the edges of objects is really only a side effect of antialiasing. When you really need it is if you're seeing odd-looking moire patterns in the middle of a object that aren't in the texture.
Re: Antialiasing Problem
It?s not really necessary to change celestia.cfg.
You can simply put the AA to 2X,4X or more in Nvidia Control Panel.To me,it always works.But for me,AA bigger than 4X causes a major dip in perfomance,so I rarely use.With a 8600 GT,MAYBE you can use 8X.
You can simply put the AA to 2X,4X or more in Nvidia Control Panel.To me,it always works.But for me,AA bigger than 4X causes a major dip in perfomance,so I rarely use.With a 8600 GT,MAYBE you can use 8X.
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Re: Antialiasing Problem
Danial wrote:Mine is set to '4', but to my eyes, the Earth sphere in the sample I posted isn't smoothed. Can I go higher than 4?
You should be able to go up to 8x (possibly 16x) on a GeForce 8600M. But, it looks like even 4x isn't working. Did you uncomment the AntialiasingSamples line in celestia.cfg? As Selden mentioned, you need to delete the # at the beginning of the line.
--Chris
-
Topic authorDanial
- Posts: 33
- Joined: 31.03.2008
- Age: 45
- With us: 16 years 7 months
- Location: Gold Coast, Australia
Re: Antialiasing Problem
I haven't changed anything in the cfg file because when I open it in Notepad it open as one large mass of text (no line-breaks) so I can't tell where the AA line starts/ends.
-
- Posts: 1803
- Joined: 12.10.2007
- With us: 17 years 1 month
Re: Antialiasing Problem
Danial wrote:I haven't changed anything in the cfg file because when I open it in Notepad it open as one large mass of text (no line-breaks) so I can't tell where the AA line starts/ends.
Danial,
Try using Notepad2... You can get it free of charge by clicking HERE.
Hope that helps. You can also use Wordpad if you are on Windows. Thanks, Bob
Brain-Dead Geezer Bob is now using...
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Windows Vista Home Premium, 64-bit on a
Gateway Pentium Dual-Core CPU E5200, 2.5GHz
7 GB RAM, 500 GB hard disk, Nvidia GeForce 7100
Nvidia nForce 630i, 1680x1050 screen, Latest SVN
Re: Antialiasing Problem
Easiest it to open the file once in Wordpad, then immediately save it with no changes. That way, next time you doubleclick on the file (and it opens in Notepad) it will be correct in Notepad.
Re: Antialiasing Problem
Question for those suggesting the use of the Nvidia Control Panel to enable AA.
Doesn't this result in all the fonts in Celestia being oddly cropped?
Doesn't this result in all the fonts in Celestia being oddly cropped?
System:
Asus A8N-SLI Premium nForce4 SLI
AMD Athlon 64 X2 4200+
2xeVGA GeForce 7800 GTX 256MB
2gb Dual Channel DDR (400) 3200
Asus A8N-SLI Premium nForce4 SLI
AMD Athlon 64 X2 4200+
2xeVGA GeForce 7800 GTX 256MB
2gb Dual Channel DDR (400) 3200
-
- Posts: 435
- Joined: 25.08.2004
- With us: 20 years 2 months
- Location: Brittany, close to the Ocean
Re: Antialiasing Problem
There is a very good and recognized tool to get full control of most 3D app.
Try Nhancer http://www.nhancer.com/
Just create a dedicated profile for celestia.exe and tweak all possible settings to your liking, including AA, AF, SLI rendering method, just set what you are looking for.
The profile will override the driver's control panel settings.
There is a design limitation in Celestia though as someone pointed out.
Too much anti-aliasing corrupts the HUD font rendering and can make the HUD text ugly and close to unlegible.
HUD text overlay should be made independent from scene rendering in the code. Basic stuff if you ask me.
Try Nhancer http://www.nhancer.com/
Just create a dedicated profile for celestia.exe and tweak all possible settings to your liking, including AA, AF, SLI rendering method, just set what you are looking for.
The profile will override the driver's control panel settings.
There is a design limitation in Celestia though as someone pointed out.
Too much anti-aliasing corrupts the HUD font rendering and can make the HUD text ugly and close to unlegible.
HUD text overlay should be made independent from scene rendering in the code. Basic stuff if you ask me.
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Re: Antialiasing Problem
Boux wrote:There is a very good and recognized tool to get full control of most 3D app.
Try Nhancer http://www.nhancer.com/
Just create a dedicated profile for celestia.exe and tweak all possible settings to your liking, including AA, AF, SLI rendering method, just set what you are looking for.
The profile will override the driver's control panel settings.
There is a design limitation in Celestia though as someone pointed out.
Too much anti-aliasing corrupts the HUD font rendering and can make the HUD text ugly and close to unlegible.
HUD text overlay should be made independent from scene rendering in the code. Basic stuff if you ask me.
At what level of antialiasing do you begin to see troubles with font rendering?
--Chris
- Adirondack
- Posts: 528
- Joined: 01.03.2004
- With us: 20 years 8 months
Re: Antialiasing Problem
With 6600GT: 8
Font rendering is still readable but looks ugly though.
Adirondack
Font rendering is still readable but looks ugly though.
Adirondack
We all live under the same sky, but we do not have the same horizon. (K. Adenauer)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)
The horizon of some people is a circle with the radius zero - and they call it their point of view. (A. Einstein)
Re: Antialiasing Problem
Boux:
I would like to do this with my 3600 GT card. Would you be willing to share what the recommended "tweaks" should be? I have no idea what mipmapping is, or what the settings should be for Celestia, etc. I would be happy to use your recommended settings for maximizing Celestia's performance on Nvidia cards.
Would it be difficult to post them, or direct us to some place where the best settings are recommended?
Thanks
Frank
Try Nhancer http://www.nhancer.com/
Just create a dedicated profile for celestia.exe and tweak all possible settings to your liking, including AA, AF, SLI rendering method, just set what you are looking for.
I would like to do this with my 3600 GT card. Would you be willing to share what the recommended "tweaks" should be? I have no idea what mipmapping is, or what the settings should be for Celestia, etc. I would be happy to use your recommended settings for maximizing Celestia's performance on Nvidia cards.
Would it be difficult to post them, or direct us to some place where the best settings are recommended?
Thanks
Frank
-
- Site Admin
- Posts: 4211
- Joined: 28.01.2002
- With us: 22 years 9 months
- Location: Seattle, Washington, USA
Re: Antialiasing Problem
Adirondack wrote:With 6600GT: 8
Font rendering is still readable but looks ugly though.
Adirondack
I think this may be due to the way 8x antialiasing is done on the 6600: instead of just multisampling, I believe that the 6600 uses a combination of 2x supersampling and 4x multisampling. I'll have to look into this more and see if there's a workaround. It may be possible to make the text looking better by fine-tuning the subpixel offset for text.
--Chris
-
- Posts: 435
- Joined: 25.08.2004
- With us: 20 years 2 months
- Location: Brittany, close to the Ocean
Re: Antialiasing Problem
fsgregs wrote:Boux:Try Nhancer http://www.nhancer.com/
Just create a dedicated profile for celestia.exe and tweak all possible settings to your liking, including AA, AF, SLI rendering method, just set what you are looking for.
I would like to do this with my 3600 GT card. Would you be willing to share what the recommended "tweaks" should be? I have no idea what mipmapping is, or what the settings should be for Celestia, etc. I would be happy to use your recommended settings for maximizing Celestia's performance on Nvidia cards.
Would it be difficult to post them, or direct us to some place where the best settings are recommended?
Thanks
Frank
Hi, Frank,
Try this:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<FILE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<INFO Number="0" Version="3" />
<PROFILESET>
<PROFILE Label="celestia.exe">
<APPLICATION Label="celestia.exe" />
<PROPERTY Label="aa_default" Value="0x00000027" Default="0x00000000" />
<PROPERTY Label="aa_selector" Value="0x10000000" Default="0x00000000" />
<PROPERTY Label="af_default" Value="0x00000010" Default="0x00000001" />
<PROPERTY Label="aniso_selector" Value="0x10000000" Default="0x00000000" />
<PROPERTY Label="vsync_default" Value="0x60925292" Default="0x60925292" />
<PROPERTY Label="triple_buffering" Value="0x00000001" Default="0x00000000" />
<PROPERTY Label="image_settings" Value="0xFFFFFFF6" Default="0x00000000" />
<PROPERTY Label="trilinear_optimization" Value="0x00000001" Default="0x00000000" />
<PROPERTY Label="aniso_optimization" Value="0x00000000" Default="0x00000000" />
<PROPERTY Label="aniso_sample_optimization" Value="0x00000000" Default="0x00000000" />
<PROPERTY Label="conformant_texture_clamp" Value="0x00000000" Default="0x00000000" />
<PROPERTY Label="multi_cpu" Value="0x00000001" Default="0x00000001" />
<PROPERTY Label="multi_mon_config" Value="0x00000000" Default="0x00000003" />
<Manual>False</Manual>
<Customized>True</Customized>
<Shadowed>False</Shadowed>
</PROFILE>
</PROFILESET>
</FILE>
This is a profile for a very good rendering.
Copy/paste the XML code in an editor and save as "celestia.nhprofile" then open nhancer and import the profile.
It will be immediately applied and visible in the various options.
From there you will be able to adjust the settings individually.
Note to Chris: sorry for being late for replying, I have been away for the last ten days.
From 16x and up, the overlay fonts starts to blur and look dirty (9800GX2 and 174.74 drivers on Vista 64).
BTW, and this is good news, there is no longer any font blurring with the latest Nvidia beta drivers in Linux.
Intel core i7 3770 Ivy Bridge @ 4.4 GHz -16 GB ram - 128 GB SSD cache - AMD Radeon 7970 3 GB o'clocked - Windows 7 64 Ultimate / Linux Kubuntu