Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Aggressor_Squad on March 02, 2003, 06:11:51 pm

Title: About 3.5's OpenGL support...
Post by: Aggressor_Squad on March 02, 2003, 06:11:51 pm
In the readme it says in order to enable open gl, you gotta change something in one of the registries.  I found the 'Videocard' one, and it says this when I click on it:

"Direct 3D - Primary Display Driver (1024x768)"

So should I replace that with the one from the readme?
Title: About 3.5's OpenGL support...
Post by: phreak on March 02, 2003, 06:33:15 pm
OpenGL - Primary Display Driver (1024x768)

Tested on Geforce and Radeon cards
Title: About 3.5's OpenGL support...
Post by: deep_eyes on March 02, 2003, 07:18:32 pm
if u geta  misspelling error, and u know u spelled OPEN GL right, then let these guys know... they think i cantnot spell open gl... meh....
Title: About 3.5's OpenGL support...
Post by: phreak on March 02, 2003, 07:32:12 pm
opengl is one word

do it exactly like mine

OpenGL - (32 bit)(1024x768)
Title: About 3.5's OpenGL support...
Post by: deep_eyes on March 02, 2003, 08:11:29 pm
Quote
Originally posted by PhReAk
opengl is one word

do it exactly like mine

OpenGL - (32 bit)(1024x768)


tell that to the readme dude... where it states "Open GL -" ur way should work...
Title: About 3.5's OpenGL support...
Post by: Inquisitor on March 02, 2003, 08:33:00 pm
That's why the readme is a draft, I'll fix that shall I.

Deep: Would you like to offer your skills to fixing up the readme?
Title: About 3.5's OpenGL support...
Post by: RandomTiger on March 06, 2003, 06:50:02 am
How about someone has an e-mail discussion with me about this stuff and I'll try and get it in the launcher.

I have spent a bit of time on it this week and intend to spend more at the weekend. Make use of me while Im around, even if I am somewhat distant. In a few weeks time you may find me more difficult to contact.
Title: About 3.5's OpenGL support...
Post by: Inquisitor on March 06, 2003, 08:52:26 am
A launcher needs to:

1) Read the registry for ONLY the fs2 reg entries, including video card, sound and network.

2) Allow ONLY changing between supported video types, which means probably some kind of drop down that changes the registry entry from

"Direct 3D - Primary Display Driver (1024x768)"

to:

"OpenGL - Primary Display Driver (1024x768)"

Or 640x480, for instance

3) SET registry entries for typical, default values (unless you are going to write a detect routine that can autodetect d3d/opengl) and write those entries to the registry if they don't exist, for ALL required components (thus obviating the need to run the fs2 launcher first).
Title: About 3.5's OpenGL support...
Post by: Goober5000 on March 06, 2003, 10:33:25 am
Someone want to add the hi-res texture hack to the launcher?  It'd probably be very conveninent for people who are afraid of messing with the registry.
Title: About 3.5's OpenGL support...
Post by: Kazan on March 06, 2003, 10:56:44 am
DUDAGE!!!!! OpenGL runs .faster
Title: About 3.5's OpenGL support...
Post by: phreak on March 06, 2003, 02:23:19 pm
i want to squash that popup bug tho
Title: About 3.5's OpenGL support...
Post by: RandomTiger on March 07, 2003, 06:56:56 am
Quote
Originally posted by Goober5000
Someone want to add the hi-res texture hack to the launcher?  It'd probably be very conveninent for people who are afraid of messing with the registry.


My launcher provides safe easy access to the reg but it might be worth making that an option of its own.

OK, so

OpenGL - Primary Display Driver (1024x768)
OpenGL - Primary Display Driver (640x480)

How does OGL know if you want 16 or 32 bit, or is it 32bit only?
Title: About 3.5's OpenGL support...
Post by: JC Denton on March 07, 2003, 07:28:19 am
Unless told otherwise, OpenGL uses your desktop color depth.  And since many of us keep ours set at 32-bit, OpenGL also runs in 32-bit.
Title: About 3.5's OpenGL support...
Post by: Rampage on March 07, 2003, 07:49:02 am
Anyway, OpenGL for Freespace 2 does not work for older video cards.  I have an NVidia RIVA 128X 8 MB and it doesn't work.  It says that I need an OpenGL version that's 0.01 units higher.

I guess that I'm bummed out.

Rampage
Title: About 3.5's OpenGL support...
Post by: RandomTiger on March 08, 2003, 04:11:04 am
Quote
Originally posted by Rampage
Anyway, OpenGL for Freespace 2 does not work for older video cards.  I have an NVidia RIVA 128X 8 MB and it doesn't work.  It says that I need an OpenGL version that's 0.01 units higher.

I guess that I'm bummed out.

Rampage


What OS are you on? SOund like you just need to install the newest version of OGL
Title: About 3.5's OpenGL support...
Post by: DTP on March 08, 2003, 10:36:01 am
Quote
Originally posted by Goober5000
Someone want to add the hi-res texture hack to the launcher?  It'd probably be very conveninent for people who are afraid of messing with the registry.


fs2_open.exe -32bit

forces 32bit. is alraedy there.

never tested it & dont know if this works for OpenGl, but it should work for D3D.
Title: About 3.5's OpenGL support...
Post by: IceFire on March 08, 2003, 11:26:34 am
Quote
Originally posted by Rampage
Anyway, OpenGL for Freespace 2 does not work for older video cards.  I have an NVidia RIVA 128X 8 MB and it doesn't work.  It says that I need an OpenGL version that's 0.01 units higher.

I guess that I'm bummed out.

Rampage

The Riva 128, if memory serves, does not fully support OGL.  Its got a hack and slash version that works with the old GL-Quake and Quake 2 only.
Title: About 3.5's OpenGL support...
Post by: CptWhite on March 09, 2003, 03:58:25 pm
is this pop up error you refer to the "cant swap buffers" message i just got?