Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 11-07-07   #1 (permalink)
PC Gamer
 
thenailedone's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: UAE
Posts: 913

Rep: 61 thenailedone is acknowledged by some
Unique Rep: 54
Folding Team Rank: 1075
Trader Rating: 0
Question OpenGL and gaming

Was reading around about the up and coming (ok, now available) title "The Witcher" and one of the sites (stuffed if I can remember now) had a table of information about it and one of the things that caught my attention was that it supported OpenGL... so now what are the implications of that? Will it work under Linux? Will it require less tweaking to make work?

How exactly does OpenGL fit into the whole setup (and what is its relationship with DX9 and/or DX10?)...

edit: Just read this

Quote:
GH: Can you describe what has been done to enhance the game engine for The Witcher?

Michal: As I have already mentioned, there have been some significant changes – around 80% of the original engine has been rewritten. Out of this, probably the most noticeable is the change of the rendering module – from OpenGL to a the new DirectX 9, where the latter’s superiority shows in pixel-shading, normal mapping, and full screen effects among others. Moreover, we reformulated the whole game mechanism – going from the d20 turn based system to real time combat. The last thing I would like to mention is the game’s edition environment, which had a complete makeover. The Aurora Toolset simply did not meet the efficiency and stipulations we were looking for. The new toolset is fully integrated with “The Witcher” and, among other things, permits us to detect glitches and implement changes in real time. In addition to all this, there have been many other smaller changes and modifications, which I have simply not mentioned due to lack of space.
Source... so The Witcher isn't OpenGL... still no idea of the implications...
__________________
Fully awesome! - Rhino

How to ask questions the smart way (you're on a forum right )

System: Vector_Sigma
CPU
Q6600 G0
Motherboard
ECS Elitegroup P45T-A
Memory
4GB DDR2-800
Graphics Card
XFX 8800GT Alpha Dog XXX 512MB
Hard Drive
Seagate Barracuda 7200.10 250 GB
Power Supply
Antec Earthwatts 650W
Case
Raidmax Smilodon
CPU cooling
Thermaltake Ruby Orb
GPU cooling
Zalman
OS
M$ Vista Business x64
Monitor
Samsung SyncMaster 720N

Last edited by thenailedone : 11-07-07 at 07:08 AM Reason: add stuff ;)
thenailedone is offline I fold for Overclock.net   Reply With Quote
Old 11-07-07   #2 (permalink)
PC Gamer
 
SpuddGunn's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Warwickshire
Posts: 1,286

Rep: 109 SpuddGunn is acknowledged by manySpuddGunn is acknowledged by many
Unique Rep: 90
Trader Rating: 2
Default

OpenGL should work fine under Linux

As for where it sits with DX9/10, I believe (correct me if I'm wrong) that it has nothing to do with them and runs its own way. Same way as Glide used to be different to OpenGL and DX

Check out these links

http://en.wikipedia.org/wiki/OpenGL

http://en.wikipedia.org/wiki/Compari...t3D_and_OpenGL

Hope these help
__________________

Quote:
Originally Posted by Martin Luther 'Ledley' King
I had a dream...when I awoke I praised the lord that we were not West Ham."

System: SpuddGunns **ALL NEW** Super Fun House
CPU
Core2Duo E6600
Motherboard
Asus P5NSLI
Memory
2GB OCZ Spec Ops
Graphics Card
Nvidia 9800GT 512mb
Hard Drive
1 x SATA 80GB, 1 x SATA 160GB, 1 x IDE 40GB
Sound Card
Trust 5.1
Power Supply
HiperPower 580W
Case
NZXT Trinity
CPU cooling
Stock
GPU cooling
Stock
OS
XP 32bit
Monitor
Sony 14" jobby

Last edited by SpuddGunn : 11-07-07 at 07:31 AM
SpuddGunn is offline   Reply With Quote
Old 11-07-07   #3 (permalink)
PC Gamer
 
thenailedone's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: UAE
Posts: 913

Rep: 61 thenailedone is acknowledged by some
Unique Rep: 54
Folding Team Rank: 1075
Trader Rating: 0
Unhappy

Quote:
Originally Posted by SpuddGunn View Post
OpenGL should work fine under Linux

As for where it sits with DX9/10, I believe (correct me if I'm wrong) that it has nothing to do with them and runs its own way. Same way as Glide used to be different to OpenGL and DX

Check out these links

http://en.wikipedia.org/wiki/OpenGL

http://en.wikipedia.org/wiki/Compari...t3D_and_OpenGL

Hope these help
Thanks for the links... actually had a read on Wikipedia just after posting... still doesn't help me to much (just serves to confuse me more...)

So OpenGL is in direct competition with Direct3D... and Direct3D is that part of DirectX that handles graphics (if I follow)... so when creating games the developers choose to create for either OpenGL or DirectX... and a game like The Witcher that is now written for Direct3D won't necessarily be playable under Linux (lot's of tweaking etc. needed)... Or am I mistaken?
__________________
Fully awesome! - Rhino

How to ask questions the smart way (you're on a forum right )

System: Vector_Sigma
CPU
Q6600 G0
Motherboard
ECS Elitegroup P45T-A
Memory
4GB DDR2-800
Graphics Card
XFX 8800GT Alpha Dog XXX 512MB
Hard Drive
Seagate Barracuda 7200.10 250 GB
Power Supply
Antec Earthwatts 650W
Case
Raidmax Smilodon
CPU cooling
Thermaltake Ruby Orb
GPU cooling
Zalman
OS
M$ Vista Business x64
Monitor
Samsung SyncMaster 720N

Last edited by thenailedone : 11-07-07 at 08:29 AM Reason: grammer
thenailedone is offline I fold for Overclock.net   Reply With Quote
Old 11-07-07   #4 (permalink)
PC Gamer
 
SpuddGunn's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Warwickshire
Posts: 1,286

Rep: 109 SpuddGunn is acknowledged by manySpuddGunn is acknowledged by many
Unique Rep: 90
Trader Rating: 2
Default

Quote:
Originally Posted by thenailedone View Post
Thanks for the links... actually had a read on Wikipedia just after posting... still doesn't help me to much (just serves to confuse me more...)

So OpenGL is in direct competition with Direct3D... and Direct3D is that part of DirectX that handles graphics (if I follow)... so when creating games the developers choose to create for either OpenGL or DirectX... and a game like The Witcher that is now written for Direct3D won't necessarily be playable under Linux (lot's of tweaking etc. needed)... Or am I mistaken?
Yeah think thats about right.

Back in the days of 3dfx, most games would let you choose between D3D, OpenGl and Glide (3dfx only). So in effect they were all competing against each other. D3D back then was pretty poor so moost users went for either OpenGL or Glide.

When 3dfx went belly up, Glide was just left behind leaving only OpenGL and DX.

If The Witcher is purely DX now then I doubt very much it would work under Linux. However if it has the option to switch to OpenGL then I think it should.
__________________

Quote:
Originally Posted by Martin Luther 'Ledley' King
I had a dream...when I awoke I praised the lord that we were not West Ham."

System: SpuddGunns **ALL NEW** Super Fun House
CPU
Core2Duo E6600
Motherboard
Asus P5NSLI
Memory
2GB OCZ Spec Ops
Graphics Card
Nvidia 9800GT 512mb
Hard Drive
1 x SATA 80GB, 1 x SATA 160GB, 1 x IDE 40GB
Sound Card
Trust 5.1
Power Supply
HiperPower 580W
Case
NZXT Trinity
CPU cooling
Stock
GPU cooling
Stock
OS
XP 32bit
Monitor
Sony 14" jobby
SpuddGunn is offline   Reply With Quote
Old 11-07-07   #5 (permalink)
Nvidia Nforce Master
 
G|F.E.A.D|Killa's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: Surprise AZ
Posts: 10,138
Blog Entries: 3

Rep: 631 G|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famousG|F.E.A.D|Killa is becoming famous
Unique Rep: 430
Folding Team Rank: 1021
Hardware Reviews: 10
Trader Rating: 32
Default

open GL has nothing to do with direct X. it is its own system. i think were at 2.0 now.and the graphics are way better than with DX

System: Lurking Ninja
CPU
Intel Core i7 920 D0 3849B203 4.0/1.164
Motherboard
Evga X58 Classified E759/Koolance X58/BIX 120
Memory
6GB 3x2 OCZ Gold 1600mhz/2000mhz 1.71v
Graphics Card
2X Evga GTX 280 SLI
Hard Drive
WD 250 AAKS WD Black 1tb
Sound Card
Xfi audigy 2/ Z5500s
Power Supply
PC Power Cooling 750w Quad black
Case
Modded Rocketfish
CPU cooling
D-Tek Fuzion V2/ BIX 360 Xflow/ D5
GPU cooling
Stock
OS
Vista Ultimate X64
Monitor
Gateway HD2401 24"
G|F.E.A.D|Killa is offline I fold for Overclock.net Overclocked Account G|F.E.A.D|Killa's Gallery   Reply With Quote
Old 11-07-07   #6 (permalink)
HACK THE PLANET!
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 30,735

Rep: 3640 DuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guru
Unique Rep: 1676
Folding Team Rank: 1194
Trader Rating: 50
Default

Quote:
Originally Posted by thenailedone View Post
Thanks for the links... actually had a read on Wikipedia just after posting... still doesn't help me to much (just serves to confuse me more...)

So OpenGL is in direct competition with Direct3D... and Direct3D is that part of DirectX that handles graphics (if I follow)... so when creating games the developers choose to create for either OpenGL or DirectX... and a game like The Witcher that is now written for Direct3D won't necessarily be playable under Linux (lot's of tweaking etc. needed)... Or am I mistaken?
Correct. OpenGL games will not always immediately work with Linux or Mac. However, they can usually with a bit of tweaking.

OpenGL and DirectX are sets of APIs or commands. Instead of the programmers worrying about how to tell the CPU/video card/memory to work, they just use a pre-defined command. These commands differ in OpenGL and DirectX. Instead of writing in code with 20+ lines of set register commands like: "MV R1 R2 1, MV R1 R2 3, ect" (machine code), developers can write "DrawLine([X1,Y1,Z1],[X2,Y2,Z2]) using an API.


Quote:
Originally Posted by G|F.E.A.D|Killa View Post
open GL has nothing to do with direct X. it is its own system. i think were at 2.0 now.and the graphics are way better than with DX
OpenGL and DirectX are APIs, not systems. The graphics are not way better than DirectX3D. Each have strengths and weaknesses. OpenGL is working on 3.0 but was recently delayed.
__________________
Sale: http://www.overclock.net/sale/483449...ml#post5893019

To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it should work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single-Rail/Non-Modular PSUs are not always better than Multi-Rail/Modular


System: Three Dead Mobos in a Year
CPU
Q6600 (3.7GHz)
Motherboard
Asus Rampage Formula
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
GTX260 55nm
Hard Drive
PERC 5/i: 3xRAID0 Raptor 74GB + 7200.10 250GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
MCW60 + Iandh HS + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"

Last edited by DuckieHo : 11-07-07 at 08:51 AM
DuckieHo is offline I fold for Overclock.net Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 11-08-07   #7 (permalink)
Multi-Quote King
 
The Hundred Gunner's Avatar
 
amd nvidia

Join Date: Jul 2006
Posts: 9,094

Rep: 744 The Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famousThe Hundred Gunner is becoming famous
Unique Rep: 413
Folding Team Rank: 1802
Trader Rating: 0
Default

So will someone please answer this question which I always ask in DX/OGL threads but never get an answer:

If OGL and DX are different "libraries," why does a game like Doom 3 or Q4 (which I hear are "OGL games) need to have DX installed? The D3 comes with a DX installer and has DX9 written as a requirement on the box.
__________________
"But you would be amazed by how many people think that the only reason to have a computer is to play games, and that playing games is all that anyone with a computer does." - dangerousHobo

"Linux is everywhere, it is all around us, even now in this very room. You can see it when you look out your window, or you turn on your television. You can feel it when you go to work, when you go to church, when you pay your taxes. " - mbp

"I have used a mac before. And they still don't have right click I mean come on." - aakar

System: The Shuttle Has Landed
CPU
Athlon 64 3800+ @2.785GHz
Motherboard
Shuttle
Memory
2GB OCZ
Graphics Card
7950GT
Hard Drive
320GB Seagate in Ext. Case
Sound Card
On-board
Power Supply
250W Shuttle "Elanpower"
Case
Shuttle Glamour xPC
CPU cooling
Shuttle "ICE2"
GPU cooling
Stock
OS
Censored to avoid flaming
Monitor
HP M70
The Hundred Gunner is offline I fold for Overclock.net Overclocked Account   Reply With Quote
Old 11-08-07   #8 (permalink)
PC Gamer
 
thenailedone's Avatar
 
intel nvidia

Join Date: Apr 2007
Location: UAE
Posts: 913

Rep: 61 thenailedone is acknowledged by some
Unique Rep: 54
Folding Team Rank: 1075
Trader Rating: 0
Default

Good question The Hundred Gunner... and thx for the advice to all...
__________________
Fully awesome! - Rhino

How to ask questions the smart way (you're on a forum right )

System: Vector_Sigma
CPU
Q6600 G0
Motherboard
ECS Elitegroup P45T-A
Memory
4GB DDR2-800
Graphics Card
XFX 8800GT Alpha Dog XXX 512MB
Hard Drive
Seagate Barracuda 7200.10 250 GB
Power Supply
Antec Earthwatts 650W
Case
Raidmax Smilodon
CPU cooling
Thermaltake Ruby Orb
GPU cooling
Zalman
OS
M$ Vista Business x64
Monitor
Samsung SyncMaster 720N
thenailedone is offline I fold for Overclock.net   Reply With Quote
Old 11-08-07   #9 (permalink)
Overclocker
 
moward's Avatar
 
intel nvidia

Join Date: Sep 2007
Location: Manchester
Posts: 360

Rep: 42 moward is acknowledged by some
Unique Rep: 40
Folding Team Rank: 584
Trader Rating: 0
Default

It probably needs DirectX for its sound processing?
__________________
System: C. lupus
CPU
E8400 @ 4 GHz
Motherboard
EVGA 780i SLI
Memory
8Gb Corsair Dominator 1066
Graphics Card
Palit GTX 275
Hard Drive
4 x 320Gb
Sound Card
X-Fi XtremeMusic
Power Supply
OCZ 700W GameXstream
Case
Antec P182
CPU cooling
Ultima 90i + Silverstone FM122
OS
Vista Ultimate 64bit
Monitor
HP LP2475w + 225BW
moward is offline I fold for Overclock.net   Reply With Quote
Old 11-08-07   #10 (permalink)
HACK THE PLANET!
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 30,735

Rep: 3640 DuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guru
Unique Rep: 1676
Folding Team Rank: 1194
Trader Rating: 50
Default

Quote:
Originally Posted by moward View Post
It probably needs DirectX for its sound processing?
Yup.... To run in Windows, it probably needs some certain non-graphical APIs. Don't forget when comparing OpenGL vs DirectX.... you are really only comparing OpenGL vs DirectX3D. DirectX also contains APIs for sound and keyboard/mouse controls
__________________
Sale: http://www.overclock.net/sale/483449...ml#post5893019

To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it should work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single-Rail/Non-Modular PSUs are not always better than Multi-Rail/Modular


System: Three Dead Mobos in a Year
CPU
Q6600 (3.7GHz)
Motherboard
Asus Rampage Formula
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
GTX260 55nm
Hard Drive
PERC 5/i: 3xRAID0 Raptor 74GB + 7200.10 250GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
MCW60 + Iandh HS + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"
DuckieHo is offline I fold for Overclock.net Overclocked Account DuckieHo's Gallery   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 06:17 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16085 seconds with 8 queries