Author Topic: OpenGL issue  (Read 2848 times)

0 Members and 1 Guest are viewing this topic.

Offline Lynx

  • 211
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!:(
Give a man fire and he'll be warm for a day, but set fire to him and he'll be warm for the rest of his life.

 
I also have an OpenGL issue, which is best explained by images:



Under OpenGL



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.

  

Offline Flipside

  • əp!sd!l£
  • 212
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

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I have to manualy edit the registry to get it to work
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 phreak

  • Gun Phreak
  • 211
  • -1
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
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Lynx

  • 211
VideocardFs2open:  OpenGL - Primary Display Driver(1024 x 768)

It still doesn't work. :confused:
Give a man fire and he'll be warm for a day, but set fire to him and he'll be warm for the rest of his life.

 

Offline Flipside

  • əp!sd!l£
  • 212
Is that the latest launcher in your siggy Phreak?

Flipside :D

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
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)
« Last Edit: August 05, 2003, 08:13:59 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 Lynx

  • 211
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?
Give a man fire and he'll be warm for a day, but set fire to him and he'll be warm for the rest of his life.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
are you running the debug build maybe?
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 phreak

  • Gun Phreak
  • 211
  • -1
no.

try defragmenting. i want to look at one part in the code tho
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Fry_Day

  • 28
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.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
i tried auto mipmap generation and it crashed.
it seems not to like 1555 textures, or maybe i was doing something wrong
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
its working, but the textures are all distorted. let me post a screenshot

« Last Edit: August 05, 2003, 09:51:26 pm by 31 »
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
Quote
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.

 

Offline Flipside

  • əp!sd!l£
  • 212
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
« Last Edit: August 06, 2003, 11:07:56 am by 394 »