Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Lynx on August 05, 2003, 06:40:39 pm
-
Sorry to bug you, but there's a strange OpenGL error? on my system. whenever I choose in the launcher to run Freespace in OpenGL at 1024x768 it still runs at 640x480, no matter what I do, and the Pc doesn't spit an error code out. And glowmaps only function in OpenGL, but not in D3D5 or D3D8.
On a sidenote: FS2 runs quite slow on my PC no matter which .exe I use, which shouldn't be since I have a ninja 2ghz pc.What could it be?
BTW i'm using FSopen 3.5
Plz help!:(
-
I also have an OpenGL issue, which is best explained by images:
(http://jeff.re4lity.net/images/glcompare.jpg)
Under OpenGL
(http://jeff.re4lity.net/images/d3dcompare.jpg)
Under D3D
Yes, I'm running Inferno with Phreak's EXE but the problem also occurs using the latest SCP build running unmodded FS2 as well. Both display modes perform equally well but the OGL one seems not to smooth textures at all - it looks like things are rendered in software like one could get in FS1.
Sid.
-
Well, the 640 x 480 thing is caused by the registry, though I'm not certain how, but it happened to me before, so I deleted the DirectX entries and re-ran the launcher. I got it more through luck than judgement though, so I'd best see if someone can explain to you exactly what to do :D
Flipside
-
I have to manualy edit the registry to get it to work
-
there should be spaces between the numbers and the X
eg: 1024 x 768
sid: i think the odd textures in ogl has to do with bitmap sections
-
VideocardFs2open: OpenGL - Primary Display Driver(1024 x 768)
It still doesn't work. :confused:
-
Is that the latest launcher in your siggy Phreak?
Flipside :D
-
yea
-
actualy I think it's caused by the texture filtering
were you set the anisotropic filtering, you should set it to triliniar biliniar if available (and anisotropic isn't)
-
Well, I'll be damned. Phreaks build actually worked.:)
Now we still have to figure out why it is so slow. My configuration is AMD Athlon 2400, Geforce 4mx 460, 256 Mb Ram. GF4Mx is not the best around, but Fs2 should run without problems, but when more ships are in the view the FPS goes down to about 22-18. It's like playing on an old AMD K6.
Anybody has an idea what causes that?
-
are you running the debug build maybe?
-
no.
try defragmenting. i want to look at one part in the code tho
-
The error is obviously since the magnification filter is set to GL_NEAREST instead of GL_LINEAR. Should be a simple line-changing.
Phreak, how about doing glTexParameteri(GL_TEXTURE_2D,GENERATE_MIPMAP_SGIS,GL_TRUE) and glTexParameteri(GL_MIN_FILTER,GL_LINEAR_MIPMAP_NEAREST)?
Virtually every card supports auto-generating mip-maps, and larger ships tend to look terrible due to texture aliasing when using plain bilinear filtering. Rendering speed should improve, too.
-
i tried auto mipmap generation and it crashed.
it seems not to like 1555 textures, or maybe i was doing something wrong
-
its working, but the textures are all distorted. let me post a screenshot
(http://www.swooh.com/peon/phreak/fuctdanaus.jpg)
-
Originally posted by Lynx
Well, I'll be damned. Phreaks build actually worked.:)
Now we still have to figure out why it is so slow. My configuration is AMD Athlon 2400, Geforce 4mx 460, 256 Mb Ram. GF4Mx is not the best around, but Fs2 should run without problems, but when more ships are in the view the FPS goes down to about 22-18. It's like playing on an old AMD K6.
Anybody has an idea what causes that?
I have the same problem... everything (even loading times) seems to be about 50% slower than vanilla FS2 but this occurs in all modes (even D3D5 in the official build). Luckily it's still playable and things do look a fair bit better in OGL despite the texture problem.
Sid.
-
Ok, I think I got this problem too a while back, you might have the old version of the launcher, it's something to do with D3DFast 0 or the like in the registry. Try reloading from Phreaks siggy with the launcher he updated a few days ago :)
Flipside :D