Forums » Linux

Linux Graphics < Windows Graphics ???

Sep 14, 2003 The Kid link
4191... whoa?
I like yanc from yanc.sourceforge.net to do some stuff ;)
Sep 14, 2003 roguelazer link
Sorry, but mostly no. DirectX supports vertex and pixel shaders. However, OpenGL doesn't (well, not really). If you have a Radeon 9000+ or a GeForce FX+, the devs have a little hack that lets you have vertex and pixel shaders, but for the rest of us, we gotta wait for OpenGL 2.0. The "glow effect" is caused by the pixel and vertex shaders.

However, there is SOME GOOD NEWS. You can have anistropic filtering and AntiAliasing. Here's my short little howto for you:











Ok, this may be a little repetitive for those of you that read the nvidia driver manual, but here is how to enable antialiasing and anistropic filtering in Linux for Vendetta. Let's start out with what you need:

1) A nvidia GeForce or higher graphics card
2) The 4191 or higher version of the nvidia graphics drivers (3123 has a bug)
3) Some time and a good xterm



Ok. got it? Now, here's how to go about doing it:

1) Open the xterm
2) Enable antialiasing using this command:
Code:
export __GL_FSAA_MODE=num

Replace num with an entry from this list:
Quote:

_GL_FSAA_MODE GeForce, GeForce2, Quadro, and Quadro2 Pr
-----------------------------------------------------------------------
0 FSAA disabled
1 FSAA disabled
2 FSAA disabled
3 1.5 x 1.5 Supersampling
4 2 x 2 Supersampling
5 FSAA disabled

__GL_FSAA_MODE GeForce4 MX, GeForce4 4xx Go, Quadro4 380,550,580 XGL, and Quadro4 NVS
-----------------------------------------------------------------------
0 FSAA disabled
1 2x Bilinear Multisampling
2 2x Quincunx Multisampling
3 FSAA disable
4 2 x 2 Supersampling
5 FSAA disabled

__GL_FSAA_MODE GeForce3, Quadro DCC, GeForce4 Ti, GeForce4 4200 Go, and Quadro4 700,750,780,900,980 XGL
-----------------------------------------------------------------------
0 FSAA disabled
1 2x Bilinear Multisampling
2 2x Quincunx Multisampling
3 FSAA disabled
4 4x Bilinear Multisampling
5 4x Gaussian Multisampling

Please note that there are two underscores in the command __GL_FSAA_MODE
3) Now we'll enable anistropic filtering. From the same console, type
Code:
export __GL_DEFAULT_LOG_ANISO=num

Replace nu with a value from this list:
Quote:

__GL_DEFAULT_LOG_ANISO GeForce/GeForce2/GeForce4 MX Description

-----------------------------------------------------------------------

0 No anisotropic filtering

1 Enable automatic anisotropic filtering



__GL_DEFAULT_LOG_ANISO GeForce3/GeForce4 Ti Description

-----------------------------------------------------------------------

0 No anisotropic filtering

1 Low anisotropic filtering

2 Medium anisotropic filtering

3 Maximum anisotropic filtering

4) Now, from within that same console, type vendetta and start playing
5) Enjoy!




For example, if I wanted to enable 4x gaussian antialiasing and max anistropic filtering on my GeForce 4 Ti 4200, I would type the following:
Code:
export __GL_FSAA_MODE=5
export __GL_DEFAULT_LOG_ANISO=3
vendetta















That can be found, nicely formatted, at http://www.starfreeze.com/phpbb2/viewtopic.php?t=427
Sep 14, 2003 bitMat link
I introduced a windows using friend to Vendetta today. I noticed that he had many more graphics related options available to him, like Anistropic filtering. Also in general the game looked much nicer on his computer. The space station windows and lights produced glow effects that I don't have.

Can I enable these extra effects ?

It should be noted than he's using a 64mb Radeon 8500. Where I use a 64mb Geforce 3ti 200 so this maybe due to feature differences on our cards ?

My Config :-
Gentoo 1.4
Nvidia 4363 drivers
Athlon XP 2500+
512mb Ram

TIA

bitMat
Sep 15, 2003 roguelazer link
Sorry, old guide. It should read 4191 plus.
Sep 15, 2003 bitMat link
Oh well I thought that might be the case. Thanks for the info.