Author Topic: OpenGL  (Read 4085 times)

0 Members and 1 Guest are viewing this topic.

Offline vyper

  • 210
  • The Sexy Scotsman
What happened? Why is the thread un-stickified? I just wanna know the progress.
"But you live, you learn.  Unless you die.  Then you're ****ed." - aldo14

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
inqui unsticked it

its basically done for now... just need a launcher so we can do registry stuff (which is ready)
« Last Edit: December 18, 2002, 04:24:29 pm by 31 »
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Inquisitor

Yeah, what phreak said :)
No signature.

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Quote
Originally posted by PhReAk
inqui unsticked it

its basically done for now... just need a launcher so we can do registry stuff (which is ready)


What registry info would be needed for OpenGL mode? In other words, what would the registry code look for?
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
look for "OpenGL -" in the video card string.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Quote
Originally posted by PhReAk
look for "OpenGL -" in the video card string.


Does that mean it will not check for resolution info as Glide and D3D do? The launcher I've been working on is currently setup to do the following types:

3DFX Glide (640x480)
3DFX Glide (1024x768)
Direct 3D - Primary Display Driver (640x480)
Direct 3D - Primary Display Driver (1024x768)
Software (640x480)
OpenGL (640x480)
OpenGL (1024x768)

(I intend to remove the "Primary Display Driver" part for D3D since the game doesn't look for it. I also and no idea what would happen if you had a computer with 2 active video cards.)
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
you forgot (32 bit)
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
When I made the list, I made it from what my own computer listed as options and assumptions about what other options would be. As I have a Voodoo 3, 32-bit never showed up. Does OpenGL mode check for 32-bit? Glide I'm pretty sure doesn't but can check in the original code I have, D3D I assume would, and for software it doesn't really matter much what you use. Having just gotten VC6 Intro edition I'll be trying to get the current code myself, but haven't gotten WinCVS yet and am not sure how much I'll get done before Christmas.
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
"(32 bit)" must be in the launcher string
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
oh and software will not be supported period once i get a fred2 in hardware mode
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Inquisitor

What exacly is the final form of the string?

OpenGL- (640x480) (32 bit) ?
No signature.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Direct 3D - Primary Display Driver (32 bit) (1024x768)
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Inquisitor

Hence my confusion.

Same form for the OGL?
No signature.

 

Offline phreak

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

 

Offline EdrickV

  • Valued
  • 29
    • http://members.aol.com/HunterComputers
Code wise, the actual order is irrelevant. You could do: 32 bit OpenGL - (640x480) and it would still work. (It uses strstr() to check for the bits it recognizes.) Using the style already established will make it easier to read. (It's quite a list now.)

Direct 3D - Primary Display Driver (640x480)
Direct 3D - Primary Display Driver (32 bit) (640x480)
Direct 3D - Primary Display Driver (1024x768)
Direct 3D - Primary Display Driver (32 bit) (1024x768)
OpenGL - Primary Display Driver (640x480)
OpenGL - Primary Display Driver (32 bit) (640x480)
OpenGL - Primary Display Driver (1024x768)
OpenGL - Primary Display Driver (32 bit) (1024x768)
3DFX Glide (640x480)
3DFX Glide (1024x768)
Software (640x480)

Yes, I left software in there. Even if the code for it is commented out in 3.4+,  the original exe and versions prior to 3.4 are capable of using it. (And for me Software mode still beats OpenGL, which apparently won't even load in textures on a Voodoo 3, which no driver "updates" has fixed.)
« Last Edit: December 22, 2002, 11:38:15 pm by 657 »
Ground - "Let me help you out, you're clear to taxi any way you can, to any runway you see."

Mesh Gallery/Downloads:
http://members.aol.com/ArisKalzar/Gallery.html
Turreting 101:
http://members.aol.com/EdrickV/FS2/Turreting.html

http://members.aol.com/HunterComputers

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
The latest fs2_open codebase does not have the stuff in the "gl" folder...

Code: [Select]
#include "gl/gl.h"
#include "gl/glu.h"
#include "gl/glext.h"


I get a fatal error because I can't compile the thing.  Can comeone commit the gl folder, please?

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
its a subfolder in the "graphics" folder
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Hmm, yes, I see it on the website.  For some reason, it isn't coming up on CVS. :wtf:
« Last Edit: December 31, 2002, 12:05:45 pm by 561 »

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
change the first two to

Code: [Select]

#include
#include


and get this file for glext.h

http://fs2source.warpcore.org/ogl/Glext.zip
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

  

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Why - are those more up-to-date?

I did a re-checkout into a temporary folder, then got the GL folder and dumped it into graphics.  Then it worked.  But I'm not sure why it didn't work before.